Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20733 Discussions

Critical path of a circuit , modelsim

Altera_Forum
Honored Contributor II
1,344 Views

Hello, 

 

I have a question regarding critical path of a circuit and its effect on simulation using modelsim. Does the portion of the circuit in the critical path take more clock cycles to execute an operation? ( Is this shown in the modelsim waveform) 

 

Your replies will help me get a better insight into this. 

 

Thank you
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
593 Views

what part are you refering to when you say critical path? is your design synchronous or asynchronous? are you doing timing simulation or RTL simulation?

0 Kudos
Altera_Forum
Honored Contributor II
593 Views

Hello Tricky, 

 

I am doing RTL simulation of a memory module. It is a synchronous design.  

 

The design has an address comparator (which is a combinational circuit) connected to a memory. The simulation wave forms indicate that when there is an address conflict the memory takes 2 clock cycle for a write operation. Otherwise it just takes one cycle. I was trying to figure out where the extra clock delay is coming from since there are no registers adding that delay.
0 Kudos
Altera_Forum
Honored Contributor II
593 Views

What type of memory? internal or external? 

If its just RTL, then you should be able to find the extra cycle in the code or in the documentation (for an external memory controller). COmbinatorial paths have 0 delay, unless they have one specified.
0 Kudos
Reply