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.

gate level simulation issue

Status
Not open for further replies.

richardhuang

Member level 2
Joined
May 26, 2005
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
china
Activity points
1,569
when i do gate level simulation, i encountered an issue, the memory output is "x",and how can i initialize it. although i can force the output, but the release time is difficult to determine. who can give me a better resolvation.
 

Initialize all the inputs to proper value
 

You need to follow following steps.
1. Make sure that no input is 'x'
2. Initialize all uninitialized flops (flops not having reset pin) to '0' or '1' using deposit command.
3. Initialize all memorires in the netlist. For this you either need to hack the gatelevel memory model to write a task which initializes the memory or deposit the memory locations.
4. Disable timings for first sync flop at clock domain crossings. This you can do by forcing '0' on NOTIFIER reg in the coresponding flop instance.

Note that memory initialization must happen just after you remove reset.

After doing this if you get X's then be sure that they are because of some
timing violations.

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top