-
DSim error: "ld: cannot find C:\Program: No such file or directory"
I'm new to DSim Studio. When I try to simulate Altair's uvm-hello-world-main example I get the following error at the end of Elab1. I'm using Windows 11. Found 6 unique specialization(s) of 6 design element(s). Optimizing... Building models... PLI/VPI access: (none) Simulation time precision is 1ns. Linking image.so... ld:…
-
Dsim: Syntax error when using macro in system verilog simulation
When compiling using Dsim, the compilation failed when it tried to compile this line. `define width 4 `define init 0 … count <= `width'd`init; By my understanding, the defined macro should be preprocessed before the compilation stage, so it should resolve to this: count <= 4'd0; It will be helpful if I can get away with…
-
DSim Desktop Local Tool Installations - Failed to get list of versions
I have never used DSim before. I created a student account. I installed the extension for the Desktop version in VS Code and logged in to my account following the instructions, but when I try to install DSim I get the error in the screenshot. What should I do? Thank you.
-
Installing DSIM cloud CLI (mdc) on Mac OS
I encountered an issue using DSim Cloud CLI on my Mac with an M3 processor. I found a workaround, and I'm creating this community note in case it helps others in the future. The issue: After installing DSim Cloud CLI, I got the following error when invoking the "mdc" executable: $ mdc --version bash: /usr/local/bin/mdc:…
-
Port to MacOS
We have had customers request a port to MacOS. Please upvote this forum post if that would be something of interest to you.
-
VPI support
Hi, The documentation mentions that DSim wants to support the VPI. I have been playing around with the VPI and tried DSim with cocotb. There seems to be issues regarding logging and get_sim_time callbacks: -.--ns TRACE gpi ../gpi/GpiCommon.cpp:616 in gpi_to_user Passing control to GPI user -.--ns TRACE gpi…
-
Preprocessor output
Is there a way to inspect preprocessing output, such as text macro expansion, in DSim? IIRC, early versions of DSim shipped with a stand-alone SystemVerilog preprocessor, but there doesn't seem to be such a thing in recent releases.
-
bug while parsing sdf file for annotation
Dsim fail with the attached example, as follows: dsim -top tb_test -sdf-verbose -timescale 1ns/1ps tb_test.sv =N:[UsageMeter (2025-02-04 15:00:09 +0100)] usage server initial connection =N:[License] Licensed for Metrics Design Automation. =N:[License] New lease granted. Analyzing... Elaborating... Top-level modules: $unit…
-
Implicit port connection not properly checked
Consider the following simple Systemverilog code: module test (input logic clk, rst, output logic [3:0] cnt); always_ff @ (posedge clk) if (rst) cnt <= 0; else cnt <= cnt + 1; endmodule : test module tb_test; logic clk, rst; logic [3:0] cnt2; test mm (.*); // Error here initial begin rst = 1'b1; #3ns rst = 1'b0; #120ns;…
-
Bug Report
I found the following bugs. 1. variables/objects declared below their reference point is not properly recognized in a class. Example) class my_class; //int a; // O.K function new(); a = 3; //this.a = 3; //O.K endfunction int a; // Compile Errorendclass The code above is complied normally if 'this' is not omitted. 2.…
-
Bug: Applying a custom VHDL attribute to an array of records fails to compile
Compiling the following package fails in DSim version 20240422.0.0 with library ieee;use ieee.std_logic_1164.all;use ieee.numeric_std.all;package attribute_def_pkg is attribute type_length_attribute : natural; type record_type is record field_1 : std_logic; field_2 : std_logic; end record; attribute type_length_attribute…
-
Mixed signal simulation dump file .mxd error
Hi, when working with a VHDL design with UVM environment so, doing mixed language simulation. I noticed that dumping the SystemVerilog BFM interfaces, VHDL DUT to .mxd file with the command : -waves <file_name>.mxd seems succesfull and end with no error. However, VHDL dump signals are only toggles between x and z when…
-
Is there a method to save waveform signals and then reopen them in a new waveform window?
Hello everyone, I just wanted to know whether this feature is currently enabled or if it will be available in the future. It would be helpful to be able to save the signals and then reopen them in a new simulation. Thank you in advance. Ricardo
-
View System Verilog unpacked arrays in waveforms
I have a System Verilog design which is using some unpacked arrays and I noticed I can't view them in metrics waveform. Is there any command-option to enable them? Or we do not have that feature? Thanks in advance
-
Dcreport tool assertion fails
Hi, When I try to use dcreport.exe executable to generate coverage report from a .db file, An assertion fails inside dcreport.cpp file as given below : PS C:\Users\dguzel\Desktop\wb2spi_vip\sim> dcreport.exe -out_dir .\Coverage-results\ .\metrics.db Assertion failed: n_inputs == inputs.size(), file cov_db/dcreport.cpp,…
-
Block coverage closing implicit case defaults
Hi, when i extract a block coverage i have realized that automatic case defaults are created and they are %0 coverage. Do I have any option to exclude code block from line coverage or close automatic implicit case default creation in line coverage report. Thanks
-
Toggle coverage and Expression coverage does not included in coverage report
Hi, I am currently trying to take line, toggle and expression coverage from a verification IP. I have prepared cov_spec file and gave option -code-cov a for covering all. However, final db only consist line, functional and assertion coverage. I also wanted to see expression and toggle coverage. Can you describe me except…
-
Code Coverage issues after merging .db and generating reports
Hello, I must first express my gratitude for the software and the support provided; it's been fantastic. I've been simulating an RTL design with an UVM testbench this lasts weeks, and I've recently activated code coverage. I followed the advice in this post to focus solely on the RTL: code coverage causes to crash :…
-
code coverage causes to crash
Working dsim verification environment crashes when I gave the flag called "-code-cov a". Before giving that coverage flag it compiles and simulates perfectly. The crash comes from CGModule.cpp line 354. There is a assert statement that fails and crashes program with flag "=F:[Crash]". The verification environment includes…
-
Mechanism to manually release license
Hi there, It would be very helpful to have a mechanism to manually force a license release from the command line. In doing VPI work, one finds oneself gleefully slinging around raw pointers across language boundaries with joyful abandon. It's pretty to easy to cause segfaults due to human error. Having to wait for the 5…
-
DSim crashed on array access
Hi, I was playing with DSim on the Linux system (DSim version 20240422.6.0) and I found weird crash: dsim: sv/SVBitSpan.cpp:99: bool dsim::sv::GetSIAndSpanFromExpr(dsim::sv::SVStoreItemRef&, dsim::sv::SVBitSpan&, dsim::sv::SVExprRef, bool): Assertion `0 && "can't refine span"' failed. I've created small example that…
-
Crash DSim
I'm trying to use your simulator and I got a crash error when compiling SV/VHDL mixed environment. This is the sample env to reproduce this bug. https://gist.github.com/taichi-ishitani/97927543fa14edd95a84bd7f9be04115 You will see the crash report below during elaboration process. =F:[Crash] This Metrics software product…
-
Getting Started with Altair® DSim™
The following topics will help you get up and running with DSim, Altair’s on-demand semiconductor electronic functional verification solution. Install Required Software Install Visual Studio Code Go to the Visual Studio Code website. Select Download for Windows. Click the install the script: VSCodeUserSEtup-x64. Read and…