Questions tagged [modelsim]

ModelSim is hardware simulation and debug environmment targeted at ASIC and FPGA designs with native support for Verilog, SystemVerilog for design, VHDL, and SystemC.

Filter by
Sorted by
Tagged with
10 votes
2 answers
9k views

Can you interface a Modelsim testbench with an external stimuli

I am working on a team that is doing both driver software and FPGA development. The FPGA simulation is being done in Modelsim and driver software is written in C. To minimize integration risk, I ...
Cort Ammon's user avatar
  • 2,916
3 votes
2 answers
2k views

VHDL: What does STD_INPUT and STD_OUTPUT appearing in std.textio mean?

The package contains the following lines: file INPUT: TEXT is in “STD_INPUT”; file OUTPUT: TEXT is out “STD_OUTPUT”; For some reason these remind me of the standard input and output streams from my ...
quantum231's user avatar
  • 11.9k
3 votes
1 answer
990 views

Simulating IBIS Model in modelSim

I am developing a logic in an FPGA that will act as a controller for a chip by TI. I got the TI chip IBIS model from the TI website. My controller is ready and I want to simulate it using ModelSim. ...
gpuguy's user avatar
  • 1,638
1 vote
1 answer
3k views

Estimating power consumption in cadence RTL compiler with VCD file

I need to analyze the power consumption using RTL Compiler based on the VCD file generated by ModelSim. I have two files: gcm.v (This is the main circuit. Module name is "gcm") tb.v (This is the ...
drdot's user avatar
  • 447
0 votes
2 answers
4k views

Can VHDL read binary files i.e non text files?

I have a binary file which represents memory contents of a memory device. I want to load these into my testbench. The hex file obviously is not text file thus no concept of line break and carriage ...
quantum231's user avatar
  • 11.9k
0 votes
2 answers
5k views

Quartus, Modelsim, VHDL - Viewing Internal Signals

This question is rather specific which makes it rather hard to answer. I'm using Quartus Prime software from Altera to do an FPGA design in VHDL. Quartus exports to Modelsim for the simulation. I'm ...
RabidAlpaca's user avatar
0 votes
1 answer
684 views

Help on writing test bench for up counter in verilog

preamble: I think I have enough understanding of logic circuits and enough experience in programming from other languages(C, python, etc.) However, I am very new at Verilog and also have never used ...
muyustan's user avatar
  • 2,086