peter-tanner.github.io/_posts/2024-08-19-ELEC4406ELEC2311-notes-and-tips.md
2024-08-19 05:29:12 +08:00

1.7 KiB

title author date categories tags
ELEC4406/ELEC2311 notes and tips peter 2024-08-19 02:26:49 +0800
Blogging
getting started

Issues with saving file/modifying files not updating the simulation

The optimizer is once again causing issues.

My recommendation is to use qrun and do things in the terminal with asserts instead of trying to do it graphically using the verification diagrams. It also is much quicker.

qrun main.vhd -optimize -simulate -top <Your top level element>

No objects appearing in modelsim/questa for testbenches

⚠ TODO: Fix previous issue in GUI as well (I am now using qrun instead of the GUI).

This is because the signals are being optimized out since they aren't really used for anything useful.

The intel questa/modelsim version shipped with the unit is 18.1, but this allowed vopt to be disabled. This is no longer the case on the latest versions of intel questa (You will get a compile error if you disable vopt flow).

Go to Simulate > Start Simulation..., ensure optimization is enabled then click on Optimization Options...

Start simulation GUI

Then select Apply full visibility to all modules(full debug mode) and press OK.

Enable debug mode

Dark mode in intel quartus

Run this script I made on windows. 🔗Link