mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-02 08:10:46 +00:00
tests: test cxxrtl against iverilog (and uncover bug!)
This commit is contained in:
parent
095b093f4a
commit
b0f69f2cd5
5 changed files with 276 additions and 1 deletions
14
tests/fmt/always_full_tb.v
Normal file
14
tests/fmt/always_full_tb.v
Normal file
|
@ -0,0 +1,14 @@
|
|||
module always_full_tb;
|
||||
|
||||
reg clk = 0;
|
||||
wire fin;
|
||||
|
||||
always_full uut (.clk(clk), .fin(fin));
|
||||
|
||||
always begin
|
||||
#1 clk <= ~clk;
|
||||
|
||||
if (fin) $finish;
|
||||
end
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue