Closed seldridge closed 1 year ago
Isn't the always block going to be executed at t0 after reset gets a value? (x -> 1 ?)
If you do an explicit x->1 transition, then I think this works. However, if the circuit is initialized to 1 then no reset happens. I don't think you get a free x->1.
The following FIRRTL compiled to Verilog needs to have an
initial
block that does a reset if reset is asserted. This happens without randomization, but not with:This compiles to:
This should have the following, possibly guarded only by
ifndef SYNTHESIS
: