wrapverilog - Apply VHDL wrapper to Verilog module

Syntax

wrapverilog [-nocompile] <verilog_module>

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.

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 MQ.

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 

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 
  


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