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 do we implement "initialization" in our digita

Status
Not open for further replies.

yuenkit

Advanced Member level 4
Joined
Jan 20, 2005
Messages
107
Helped
6
Reputation
12
Reaction score
1
Trophy points
1,298
Activity points
1,047
I know that
"initial" is not a synthesizable construct. It cann't be synthesized into hardware.

My question is, how do we introduce the initialization block into our synthesized design?
 

Add set or reset to Flip-Flop, and that mapping to initial value of REG.
 

for eg. this is how its done in verilog. assuming reg is the output of and operation,

always@(posedge clk or negedge rst)
begin
if(!rst)
reg <= 1'b0;
else
reg <= x && y;
end
 

use pre-set or reset to Flip-Flop, memory cell also have all 0s or ffs after por.
 

oh, sorry, i din't make my question clear.

I am wondering, how the real system implement initialization. using Analog block during power up?

how does it connect to the digital block
 

analog module detects voltage changes at power on and sends out power on reset to digital.
 

For system, usually, Power-On reset--> All register to default values-->Start first read operation from ROM.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top