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:
parent
04843bdcbe
commit
5640b7d607
6 changed files with 111 additions and 0 deletions
13
tests/simple/always02.v
Normal file
13
tests/simple/always02.v
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue