OSVVM / OSVVM-Scripts

OSVVM project simulation scripts. Scripts are tedious. These scripts simplify the steps to compile your project for simulation
Other
8 stars 13 forks source link

In Mentor, add log -r /*, fails if no signals in the testbench #5

Closed JimLewis closed 3 years ago

JimLewis commented 3 years ago

Submitted to me via email. Logging here for tracking:

When I simulate a design that doesn't have any instances (no actual DUT, eg for testbenching a simple library by just using a process), the "simulate ..." script fails. The problem is line 127 in VendorScript_Mentor.tcl (add log -r /*), as it doesn't find anything to add. I couldn't get rid of the error, even "onerror {resume}" doesn't help. Maybe you have an idea what I could do?

JimLewis commented 3 years ago

Currently I have added a dummy signal to my testbench. Ugly. I hope to find a better solution.

JimLewis commented 3 years ago

Removed the add log [env]/* from simulate for QuestaSim and ModelSim. Added a number of script files that get run including Siemens.tcl so that it can be added on a as needed basis.