Search the Lattice Website

Share This Result >

Narrow Your Results

Categories
Product Family
Document Type
Clear All
  • Radiant Modelsim: How to launch Modelsim from the terminal?

    FAQ

    Radiant Modelsim: How to launch Modelsim from the terminal?

    To launch the modelsim from terminal, use below command: $ /lscc/radiant/3.1/modeltech/linuxloem/vsim& Example:$ /home/ubuntu/lscc/radiant/3.1/modeltech/linuxloem/vsim&
  • Modelsim for Diamond 3.13: "Error: (vsim-3043) Unresolved reference to I2C_WAKE

    FAQ

    Modelsim for Diamond 3.13: "Error: (vsim-3043) Unresolved reference to I2C_WAKE

    Description: When simulating EFB in Lattice Diamond 3.13 & earlier version Modelsim OEM, due to the default enabled optimization setting of Modelsim, the error below will occur:"Error: (vsim-3043) Unresolved reference to I2C_WAKE" Solution: This is a current limitation of Diamond…
  • Lattice ModelSim OEM: Can we run multiple instances of ModelSim?

    FAQ

    Lattice ModelSim OEM: Can we run multiple instances of ModelSim?

    We cannot run multiple instances of Modelsim. This is a known limitation of our Lattice ModelSim license.Therefore, only one instance of ModelSim can run.
  • Modelsim error: "Fatal: SDF files require Lattice FPGA Edition primitive library

    FAQ

    Modelsim error: "Fatal: SDF files require Lattice FPGA Edition primitive library

    Description:In ModelSim, this error can be encountered if necessary libraries are missing to simulate the design.Solution: To work around this issue, please try including the following in the testbench (ecp5u used as an example): library ecp5u; use ecp5u.all;
  • ModelSim / QuestaSim:  simulation error using a node-locked license in a remote desktop connection

    FAQ

    ModelSim / QuestaSim: simulation error using a node-locked license in a remote desktop connection

    DescriptionThe following errors may appear:# ** License Issue: License request for latticemsim feature failed# ** License Issue: No such feature exists. (C:\ispLEVER_Classic2_1\license\license.dat)# ** License Issue: Cannot find license file. (C:\flexlm\license.dat)# ** Error: Failure to obtain a…
  • How do you view or print a waveform with ModelSim using the VCD file generated by Reveal Analyzer?

    FAQ

    How do you view or print a waveform with ModelSim using the VCD file generated by Reveal Analyzer?

    The VCD (Value change dump) file is an ASCII file defined by IEEE 1364. It can be generated by a Verilog command or system function which can be used as the stimulus to the testbench and record variations of waveform.Here are the steps to do this on Radiant and Diamond: Export the VCD file from…
  • ispLEVER Classic: OCSTIMER (On Chip OSC) sample Verilog code has an issue with the RTL simulation using ModelSim

    FAQ

    ispLEVER Classic: OCSTIMER (On Chip OSC) sample Verilog code has an issue with the RTL simulation using ModelSim

    Description:There is a typo error on the ispLEVER Classic OSCTIMER sample Verilog code.Solution:Please change the small letter to an upper case. Please note that Verilog is a case-sensitive language and differences in incorrect cases will affect its functionality.From this:defparam I1.TIMER_DIV =…
  • ModelSim error on IP instantiation: (vsim-3033) Instantiation of

    FAQ

    ModelSim error on IP instantiation: (vsim-3033) Instantiation of 'MULTADDSUB36X36' failed. The design unit was not found.

    Description:This error can occur when the Simulation tool uses the wrong libraries for your design.Solution:Go to the ModelSim File menu, then select Source Directory... Select the directory where your work library is located.Then, go to the Simulate menu.Locate the Libraries tab.Click add…
  • Simulation: Modelsim: What does "Fatal : Obsolete library format for design unit" Modelsim error mean?

    FAQ

    Simulation: Modelsim: What does "Fatal : Obsolete library format for design unit" Modelsim error mean?

    Simulation: Modelsim: If the simulation libraries or your design files are compiled with an older version of Modelsim (for example, Modelsim 6.3) and are now being loaded (VSIM) into a newer version of Modelsim (for example, Modelsim 6.5), you will encounter the…
  • Simulation: Modelsim: Modelsim failed with the error message:"# ** Error: (vsim-3170) Could not find

    FAQ

    Simulation: Modelsim: Modelsim failed with the error message:"# ** Error: (vsim-3170) Could not find './work.StimModule_Unknown'."

    Description: Modelsim will produce this error when it cannot find a design to be loaded.Error: "# ** Error: (vsim-3170) Could not find './work.StimModule_Unknown'."Workaround: To workaround this, user required to check the module name at the top level instance in the testbench is proper.…
  • Modelsim: How do I convert macro from AHDL to Modelsim since Crosslink IP simulation script is based on Aldec?

    FAQ

    Modelsim: How do I convert macro from AHDL to Modelsim since Crosslink IP simulation script is based on Aldec?

    Please try the following notes for converting .do files from Aldec to Modelsim: Convert AHDL do file to Modelsim do file1. Update the generated AHDL main *_run.do file and replace AHDL work library with Modelsim work library creation steps.Example: Crosslink Pixel2Byte…
  • OEM Modelsim: How do i resolve MSVCR120.dll error when executing Modelsim tool?

    FAQ

    OEM Modelsim: How do i resolve MSVCR120.dll error when executing Modelsim tool?

    Description:When opening modelsim users may encounter an error relating to a .dll file.Solution:To resolve this issue, Install VC2013 redistributable vcredist_x86 to your system as the modelsim relies on its libraries.
  • Lattice Expands Radiant Software Tool Capabilities

    Webpage

    Lattice Expands Radiant Software Tool Capabilities

    Lattice, the low power programmable leader, released the latest version of its popular software design tool for FPGAs, Lattice Radiant 2.2.
  • Mixed-Language Simulation with Lattice IP Designs Using ModelSim

    Document

  • Using Mentor ModelSim Simulator with Lattice iCEcube2

    Document

    Using Mentor ModelSim Simulator with Lattice iCEcube2

    Application Note AN006 1.7 PDF 1.6MB
  • Lattice Diamond Simulation: How to run the simulation with optimization enabled using a standalone version of Modelsim or Questasim software? (Not OEM version)

    FAQ

    Lattice Diamond Simulation: How to run the simulation with optimization enabled using a standalone version of Modelsim or Questasim software? (Not OEM version)

    1. Run Diamond's Simulation Wizard as you normally would. The standalone version of Modelsim/Questasim should be linked within Diamond's options instead of the OEM version (Tools > Options > Directories). 2. When Modelsim/Questasim opens, Compile the design (Compile > Compile All).3.…
  • Modelsim Lattice Edition: Simulation: Why does the simulation show the output clock phase constantly shifting with respect to the input clock in a PLL?

    FAQ

    Modelsim Lattice Edition: Simulation: Why does the simulation show the output clock phase constantly shifting with respect to the input clock in a PLL?

    Modelsim Lattice Edition: Simulation: This phenomenon can occur if you force the simulator into an incorrect timescale. If a PLL is generated with a phase shift on the outputs, and the simulator is forced to an incorrect timescale by using a "-t " command, the phase of the PLL output clock…
  • Modelsim:  After executing the orc_cmpl.bat ModelSim VHDL library compilation script, why do I get errors about unexpanded library elements when I compile my design?

    FAQ

    Modelsim:  After executing the orc_cmpl.bat ModelSim VHDL library compilation script, why do I get errors about unexpanded library elements when I compile my design?

    The following  online software documents explain how  to compile the VHDL source library files for the stand-alone ModelSim flow:from the  Lattice Diamond software tool: select Help-> Lattice Diamond Help. In the new pop-up web browser, select Simulting the Design -> Third-Party Simulators ->…
  • Radiant 2023.2 SP1: Why does Lattice PCIe X4 IP v2.3.1 ModelSim simulation using Radiant 2023.2 SP1 show an error "Fatal: (vsim-3381) Obsolete library format for design unit. Design unit ../RadiantIPLocal/latticesemi.com_ip_pcie_x4_2.3.1/testbench/pcie_tb.bfm_pcie_model"?

    FAQ

    Radiant 2023.2 SP1: Why does Lattice PCIe X4 IP v2.3.1 ModelSim simulation using Radiant 2023.2 SP1 show an error "Fatal: (vsim-3381) Obsolete library format for design unit. Design unit ../Rad

    Description:This is a bug in Radiant 2023.2 SP1Solution:The obsolete library format error can be resolved by following the steps below.1) In the ModelSim environment, on the left-hand window (Library pane)2) Right-click the library specified on the error message, in this case it is 'pcie_tb',…
  • Modelsim 2020.3: When I tried to simulate the routed design (netlist-Verilog), there were a lot of error messages related to the following:# ** Error (suppressible): (vsim-19) Failed to access library

    FAQ

    Modelsim 2020.3: When I tried to simulate the routed design (netlist-Verilog), there were a lot of error messages related to the following:# ** Error (suppressible): (vsim-19) Failed to access

    Description:When users implement a post-route simulation with iCEcube2 supported modelsim, they are encountering the below library access error:# ** Error (suppressible): (vsim-19) Failed to access library 'ovi_ice' at "ovi_ice".# No such file or directory. (errno = ENOENT)Solution: To…
  • Page 1 of 2
    First Previous
    1 2
    Next Last