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.

How to implement SW_reset in Verilog?

Status
Not open for further replies.

popa

Junior Member level 2
Joined
Aug 30, 2008
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,402
hi,
need help with imlementation of SW reset in verilog?
anyone have examples for me?
thanks
 

SW_reset

software reset is usually done by a configure register of an external CPU. When CPU write 1'b1/1'b0 to that register, the hardware(exclude that CPU) will go to reset state, then finish the hardware reset.
 

Re: SW_reset

My sw_reset is an internal configure register.
Can I wire it to the external HW_reset input as a solution?
can it cause me timing problems?
 

Re: SW_reset

Are you planning to use this register (sw_reset) as a synchronous reset? If yes, then timing problems might occur depending on the delay on that line depending on the size of the FPGA, percentage of FPGA utilized and the routing for the reset path.

I suggest you to use the register bit (sw_reset) as an asyncronous reset for the remaining blocks.
 

Re: SW_reset

my SW_reset is asynchronous.
I wired my SW_reset configure register together with the external reset through 'or' gate so when the configure register get '1' , an asychronous reset immediately occur.
can it cause me problems?
 

Re: SW_reset

popa said:
my SW_reset is asynchronous.
I wired my SW_reset configure register together with the external reset through 'or' gate so when the configure register get '1' , an asychronous reset immediately occur.
can it cause me problems?

This is the way that I am using SW_RST. In addtion:
1. I sample the OR output gate to same clock domain.
2. as a global reset is synchronized; it will be traeted in the process as asynchrnous one to insure that evently reset can NOT affect FF at S/H time window.
3. limiting the the reset FF fot fixex MAX_FANOUT for synthesizes duplication.
 

Re: SW_reset

thanks for the help.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top