Download ModelSim 6.0 SE Performance Guidelines

Transcript
Table of Contents
General Performance Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Why is This Document Important? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
What Are You Measuring? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
How Are You Measuring Performance? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Measuring Time with Operating System Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Measuring Time and Memory Usage with ModelSim Commands . . . . . . . . . . . . . . . . . . . . 4
Using the Simulation Profiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Other Useful Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Verilog Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
General Verilog Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
RTL Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Gate Level Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Maintaining Design Object Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Assessing and Increasing Optimizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Generating an Instance Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Cross-referencing Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Relaxing Gate Level Cell Optimization Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
VHDL Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Mixed HDL Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Using Elaboration Files to Improve Regression Test Throughput . . . . . . . . . . . . . . . . . . 17
Design Considerations for Use of Elab Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Improving Gate-level Performance with Simulator Options . . . . . . . . . . . . . . . . . . . . . . 18
Decreasing Memory Footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Improving Performance with OS-specific Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Memory Addressing Above 2GB on an HP Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Enabling Large Pages on Sun/Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
ModelSim 6.0 SE Performance Guidelines
1