3
0
Fork 0
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:
Charlotte 2023-06-28 11:51:18 +10:00 committed by Marcelina Kościelnicka
parent 095b093f4a
commit b0f69f2cd5
5 changed files with 276 additions and 1 deletions

View 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