Altera_Forum
Honored Contributor
15 years agoGate level simulation fail?
Hey guys,
I'm trying to measure the dynamic/static power dissipated in my design which contains floating point adders and multipliers. For that I try to run the gate level simulation, write out the VCD file and use that as input to my PowerPlay Power Analyzer for accurate power estimation. Problem occurs when I try to step the clock frequency starting from 10MHz up to fmax, in increments of 10MHz. For example, after synthesizing and fitting, TimeQuest reports fmax close to 200MHz with no setup and hold violations. When I run gate level simulation I can increase my clock frequency up to 80MHz. If I try to clock my design at 90MHz, the gate level simulation will fail setup/hold timing violations. I can see a lot of errors in the console window in ModelSim-Altera, with lots of red Xs in the waveform window. How come I can't clock my design as fast as TimeQuest says I can in gate level simulation? For completeness, here's my sdc file: create_clock -period 5.50 -name clock [get_ports {clock}] derive_pll_clocks set_clock_uncertainty -from { clock } -to { clock } -setup 0.01 set_clock_uncertainty -from { clock } -to { clock } -hold 0.01 set_false_path -from [get_ports {aclr}] set_output_delay -clock { clock } 0.01 [get_ports {out* h*}] set_input_delay -clock { clock } 0.01 [get_ports {in*}]