1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/cosimulation/test/verilog/dut_const_1.v
chiplukes f0da5a6fa2
Fix Icarus cosimulation vpi bug for static signals (#444)
* created a test that shows the cosimulation bug

* fix icarus vpi so that all to_myhdl signals are updated at least once even if they are static
2024-10-05 10:07:42 +02:00

14 lines
169 B
Verilog

module dut_const_1;
reg clk;
wire q;
initial begin
$from_myhdl(clk);
$to_myhdl(q);
end
const_1 dut (.q(q), .clk(clk) );
endmodule // inc