Products & Services Solutions Academia Support User Community Company

Learn more about EDA Link Simulator   

wrapverilog - (For ModelSim) Apply VHDL wrapper to Verilog module

Syntax

wrapverilog [-nocompile] <verilog_module>

Description

The wrapverilog command applies a VHDL wrapper to the specified Verilog module and then automatically compiles the resulting VHDL file. You can then use your wrapped Verilog module with EDA Simulator Link.

This command is issued in the HDL simulator.

Before executing the wrapverilog command on a Verilog file, you must compile and load the Verilog module in ModelSim, as in the following example.

vlib work
vmap work work
vlog myverilogmod.v 
vsim myverilogmod 
wrapverilog [-nocompile] myverilogmod 

Arguments

<verilog_module>

Specifies the Verilog module to which a VHDL wrapper is to be applied. The module you specify must be in a valid ModelSim design library when you issue the command.

-nocompile

Suppresses automatic compilation of the resulting VHDL file, verilog_module_wrap.vhd.

Examples

The following command applies a VHDL wrapper to Verilog module myverilogmod.v and writes the output to myverilogmod_wrap.vhd. The -nocompile option suppresses automatic compilation.

ModelSim> wrapverilog -nocompile myverilogmod 
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS