circt icon indicating copy to clipboard operation
circt copied to clipboard

[ImportVerilog] Support Delay control

Open GlowingScrewdriver opened this issue 8 months ago • 0 comments
trafficstars

The chipsalliance tests for delay control currently fail. For instance:

module always_tb ();
	logic a = 0;
	always #5 a = ~a;
endmodule

It should be possible to support SystemVerilog delay controls by lowering slang::ast::DelayControl to llhd::WaitOp right?

Edit: Realised that it would have to go through Moore dialect first. Not sure what to use there; is it currently doable in Moore?

GlowingScrewdriver avatar Mar 20 '25 16:03 GlowingScrewdriver