Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

VHDL testbanch

Altera_Forum
Honored Contributor II
1,230 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
545 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
545 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