-
DSIM is not able to solve constraint on valid code
On edaPlayground same code works on other simulators
-
Process is existing as a dreference error during the sim
class processtest; process p[]; event ev[]; function new(); p = new[5]; ev = new[5]; endfunction task start_prcess(int idx,int delay); fork begin $display("starting process for idx=%d tiem: %0t",idx, $time); p[idx] = process::self; wait(ev[idx].triggered); $display("process is done idx=%d time: %0t",idx, $time ); end…
-
DSim 2025.1 Released
DSim 2025.1 has been released to the Altair Marketplace: It includes the addition of support for UVM-3.1 and several bug fixes: Try it out and let us know what you think!
-
DSIM License not obtained: Lease acquisition denied. Already at maxLease (1) for supplied license.
Description: DSIM License is not being obtained . after the simulation went into infinite loop Product/Topic Name : DSIM in DSIM. I wrote the code which went into infinite while loop by mistake. Once I killed VSCODE and refreshed the VSCODE. I am not able to run any simulation anymore and keep getting following error. $…
-
Running DSim from command line
I'm using Ubuntu 24.04 on WSL and I have installed DSim there. I'm trying to run an UVM AXI VIP I found on GitHub. There is a makefile there and this makefile runs DSim from the command line. When I do “make” I get this error: dsim: error while loading shared libraries: libdummy_exports.so: cannot open shared object file:…
-
DSim 2025.0.1 Now Available
DSim 2025.0.1 is now available in the Altair Marketplace: This version fixes several issues with the initial release of DSim: If you have already installed a previous version of DSim and you are now upgrading it, please consider making the last component of the installation path 2025.0.1 when running the installer. This…
-
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…