On 6/18/2018 2:43 AM, Hegedus, Istvan wrote: > > Your workaround is however also ok, I have just one concern. > > always @(negedge gate_in) > > begin > > if(!gate_in) > > r_w_latched <= r_w_6502; > > end > > > In this part I am not sure whether this will ever meet the if > requirement. Will gate_in be low already in your condition check? It will, and the compiler complained about that as well. I thus simplified it: always @(negedge gate_in) begin r_w_latched <= r_w_6502; end -- Jim Brain brain@jbrain.com www.jbrain.comReceived on 2018-06-18 11:00:04
Archive generated by hypermail 2.2.0.