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

VHDL testbanch

Altera_Forum
Honored Contributor II
1,225 Views

Hi, 

 

I described clock divider from 50MHz to 1Hz. 

 

I also wrote testbanch, unfortunately it takes too much time to run 1 cycle at 1Hz. 

 

How can I make the simulation faster? 

 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
540 Views

you probably cant. Just wait.  

Its probably slow for 2 reasons: 

 

1. You have a cheap version of modelsim (cheaper versions run slower) 

2. Your code is unnecessarily complicated (more code slows the simulation down). 

 

So, assumiung you have no control over 1. the only option is to fix 2. 

 

How about trying a clock enable instead? logic clock dividers are not recommended.
0 Kudos
Altera_Forum
Honored Contributor II
540 Views

 

--- Quote Start ---  

Hi, 

 

I described clock divider from 50MHz to 1Hz. 

 

I also wrote testbanch, unfortunately it takes too much time to run 1 cycle at 1Hz. 

 

How can I make the simulation faster? 

 

 

Thanks 

--- Quote End ---  

 

 

scale down your division for say 50K for simulation only
0 Kudos
Reply