Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog... is it good practice reset to high ?

Status
Not open for further replies.

Melinda123

Newbie level 1
Joined
Dec 15, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
Hi,

I have a (maybe silly) question :

Suppose we have few counters in FPGA design... used to index some particular registers, memories etc...

Explanation:
Suppose we need to index zero element from some register...if we start to count after reset i.e. (suppose 5 bit counter) cnt <= cnt + 1; we have on first posedge of clk signal, that cnt value is 1 but we needed 0.
So we need to set cnt <= 5'b11111; when reset occur, and then after reset on first posedge of clk signal we would have cnt is 0 as we needed.

Is it good practice, when we need to reset those counters that we reset their (all) bits to 1 and not 0 as usually people do. Does it matter (power consumption or ...)? Can someone clarify.

Best regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top