Cross-Network Cosimulation

Why Perform Cross-Network Cosimulation?

You can perform cross-network cosimulation when your setup comprises one machine
running MATLAB® and Simulink® software and another machine running the HDL simulator. Typically, a
Windows®-platform machine runs the MATLAB and Simulink software, while a Linux® machine runs the HDL simulator. However, these procedures apply to any
combination of platforms that HDL
Verifier™ and the HDL simulator support.

Preparing for Cross-Network Cosimulation

Before you cosimulate between the HDL simulator and MATLAB or Simulink across a network, perform the following steps:

If you are going to cosimulate with Simulink, use the -voptargs=+acc flag
when you compile so that the design is not optimized, and
include the same flag when you issue the
vsim command (see Performing Cross-Network Cosimulation Using Simulink). Using this flag retains some unused signals from the design
which are required by the Simulink model to run and display the results.

For a list of all the HDL
Verifier HDL shared libraries shipped, see Default Libraries.

From the MATLAB machine, copy the HDL
Verifier libraries you plan to use (which you determined in
step 2) to the machine where you installed the HDL simulator. Make
note of the location to which you copied the libraries; you'll need
this information when you are actually establishing the connection
to the HDL simulator. For purposes of this example, the sample code
refers to the destination folder as
HDLSERVER_LIB_LOCATION.