3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-03 00:28:08 +00:00

Added test cases from 2012 paper on comparison of foss verilog synthesis tools

This commit is contained in:
Clifford Wolf 2013-03-31 11:17:56 +02:00
parent 04843bdcbe
commit 5640b7d607
6 changed files with 111 additions and 0 deletions

13
tests/simple/always02.v Normal file
View file

@ -0,0 +1,13 @@
module uut_always02(clock, reset, count);
input clock, reset;
output [3:0] count;
reg [3:0] count;
always @(posedge clock) begin
count <= count + 1;
if (reset)
count <= 0;
end
endmodule