!nres
rjo__
Posts: 2,114
In dig.v (for nano) in the most recent release, at line 64:
nres is active low... so presumably !nres means that nres is high and of no effect... that being the case, to my eye, when there is no reset active then the bus selection defaults to 8'bO;
I don't understand how this could be.
Thanks,
Rich
// bus select reg [7:0] bus_sel; always @(posedge clk_cog or negedge nres) if (!nres) bus_sel <= 8'b0; else if (ena_bus) bus_sel <= {4'b0,bus_sel[2:0], ~|bus_sel[2:0]};
nres is active low... so presumably !nres means that nres is high and of no effect... that being the case, to my eye, when there is no reset active then the bus selection defaults to 8'bO;
I don't understand how this could be.
Thanks,
Rich
Comments
So !nres means to verilog if this is low. Hence the line is if !nres==0 the the bus is 000's
There is a dialog from Moneyball...but I can't find it online. It's about how easy it is to play first base. If anyone can find it... this would be an appropriate place to post it:)