Questions tagged [questasim]

Mentor Graphics software to perform a functional simulation of a VHDL or Verilog HDL designs

Mentor Graphics software to perform a functional simulation of a VHDL or Verilog HDL designs

90 questions
0
votes
1 answer

How to override localparam? -GPARAM=VAL not working

I know we can override a generic/parameter in Verilog/SystemVerilog using vsim's option -GMYPARAM=VALUE. This doesn't work for a localparam and the use of localparam in the module to prevent the change of the value isn't allowed. mymod #( …
Alexis
  • 2,136
  • 2
  • 19
  • 47
0
votes
1 answer

difference between "Coverage summary by istance" and "Design Unit Coverage Details"

In an FPGA project what is the difference between: Coverage summary by istance Local Istance Coverage Details Recursive Hierarchical Coverage Details Design Unit Coverage Details
KemKing
  • 11
  • 3
0
votes
1 answer

Simulation Waveform in Intel Questas_fse/Quartus II doesn't update outputs

I'm attempting to run Quartus II ( Quartus Prime Version 21.1.0 Build 842 10/21/2021 Sj Lite Edition) on linux Pop OS 21.10. I fail to produce result on output from Questas simulation run from the Simulation Waveform Editor. Project Settings I have…
NRagot
  • 113
  • 2
  • 12
0
votes
1 answer

modelsim/questa ERROR: UI-Msg: (vish-4014) No objects found matching '/*'

Any ideas on how to get modelsim/questa to include all "Objects" so that they will be in the WLF? I tried -novopt and +acc without any success?? my questasim/modelsim "do script" is exiting early because I tried to log all signals into a wlf file…
pico
  • 1,660
  • 4
  • 22
  • 52
0
votes
1 answer

Element not found for associative array index in constraint

I'm trying to randomize the contents of an associative array, and I ran into an error: element not found for associative array index in constraint How do I initialize these indices and then randomize their values? module top; class TFoo; typedef…
lonely
  • 681
  • 1
  • 7
  • 10
0
votes
1 answer

My testbench only shows don't cares for my inputs

When I test my dataflow module, all my inputs come out as don't cares. I'm not sure where the problem lies. Could it be my equations or my testbench itself? Here is my code. Dataflow: module…
0
votes
2 answers

SystemVerilog hierarchical reference in nonblocking assigment

I'm seeing strange behavior in my testbench where a nonblocking assignment is acting as a continuous assignment instead of outputting the RHS delayed by one cycle. My testbench binds a module "cov" to the DUT at cpu.cache via bind cache cov cov_top,…
0
votes
2 answers

SystemVerilog: Collapsing and & on an array of interface ... Collapsing or | on an array of interface

I am trying to change some of my code pretty drastically. Everywhere where I am using a widely used struct in a module port signature, I would like to replace with a interface (if appropriate). One logical operation that I have not figured out is a…
ik631
  • 9
  • 3
0
votes
1 answer

Evaluation of SystemVerilog assign statements in RTL simulation

I'm trying to understand why the statement coverage of two SystemVerilog assign statements could differ from each other when the condition expression is the same for both of the statements. Consider the following: As shown, the condition expression…
0
votes
1 answer

assign statement in Questa Sim yields x as output

I wrote a module that should "or" a signal with a delayed version of itself. But, when I simulate my design, the output always goes x instead of 1. I have no idea why. Here is how I wrote my design: module DUT( input data_in, input dw, input…
Fabian
  • 1
0
votes
2 answers

Running a test in Questa from Makefile

I have written a Makefile to run tests in questasim. I am using the following commands. vsim -l transcript -voptargs=+acc test -do $(WAVEDIR)/$(WAVE_FILE) This helps to open the questa window and simulate the test case. With thin the questa…
0
votes
1 answer

I am writing a SystemVerilog Testbench for a module that models a schematic, but don't know why transcript window saying no connection to port Y?

The Following schematic is what I have modeled my module from. This is a SystemVerilog HW assignment in which we must use contiuous assignment(s). The signature model was given to us. Note there is no delays in the circuit. The problem I am having…
0
votes
1 answer

Running a regression with shell script and make utility

I want to run a regression with a shell script which should start each test via make command. The following is a simple version of my script: #!/bin/sh …
yildizabdullah
  • 1,895
  • 5
  • 24
  • 37
0
votes
1 answer

How to check values of signals at all component hierarchy levels in VHDL

Typically I do this with TCL and simulator commands to make sure all signals are initialized to a valid value during reset, but I want to know if there's a way to accomplish this in pure VHDL. Here's a TCL-based example. It is very convenient to use…
user_007
  • 310
  • 1
  • 10
0
votes
2 answers

Create questasim/modelsim project from the command line

I'm trying to write a makefile for compiling and simulating some vhdl code. Is there a way to create a project from linux/windows command line ? It is straightforward if you open the tool and run "project new" but there's no documentation for…
Jim
  • 135
  • 4