When I am using Verilog, I would like to define a register like this:
reg [7:0] cnt;
always @ (posedge clk) begin
cnt <= #1 cnt + 1;
end
Because of using #1, the register will change a little bit behind the clk posedge in the waveform, and it will be much clear in debugging.
I am wondering if I can do that in chisel3? Both in generating Verilog by Firrtl, and generating "vcd" waveform in iotester.