mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
* 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
14 lines
169 B
Verilog
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
|