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.

`celldefine to reduce RTL simulation time?

Status
Not open for further replies.

childs

Member level 5
Joined
Apr 28, 2008
Messages
87
Helped
15
Reputation
30
Reaction score
12
Trophy points
1,288
Activity points
1,945
Hi, I found that my simulation runs faster when I put `celldefine macro in big RTL sub-block or simulation models. Now, says I use `celldefine macro in my RTL sub-block INSTANT_1:

1. I am assuming by using `celldefine macro, the simulation use less memory as it now treats INSTANT_1 as a cell, and does not keep the details inside INSTANT_1 . Is this assumption correct?
2. I am aware that I will not be able to show the waveform of signal inside & of ports of INSTANT_1 after it is treated as a cell. Is there any other impact that I should be aware of?

side note: depending on the size of system I am simulating, this method sometimes reduces really huge amount of simulation runtime, says from 30mins --> 5mins!!

Thanks.
 

The performance you get is very dependent on what you are doing with the block inside your cell. You can get speed up and reduced memory consumption not only from the fact that your are not dumping anything inside the cell, but also from being able to optimize the code inside the cell better because you are not dumping anything inside the cell.

This will also have a huge impact of you are doing code coverage, or any other type of analysis in addition to simulation.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top