BugHunter Pro and the VeriLogger Simulators

12.1 SimSwapper Quick Start

12.1 SimSwapper Quick Start

Previous topic Next topic  

12.1 SimSwapper Quick Start

Previous topic Next topic  

To use SimSwapper you will first set the path to include three items: (1) the path of the new simulator to use, (2) the path to SimSwapper, and (3) the path to the translation scripts. Next, you will run your simulation script for the old simulator just as you normally would. This will cause the translation scripts to run and SimSwapper to launch the new simulator with translated options.

The Path to SimSwapper:

The translation scripts will need the path to SimSwapper:

On Windows, SimSwapper is by default installed in :

  C:\SynaptiCAD\bin\win32

On UNIX, it's in:

      /usr/local/synapticad-<version>/bin

The Path to the Translation Scripts

The translation scripts are located under subdirectories of the SimSwapper directory (bin\swapper). To select an appropriate set of translation scripts you must set the translation script path to contain the "from" simulator and the "to" simulator:

Translate From:

To any of the following:

from_simx

from_mti

from_nc

from_vcs

to_simx32

to_simx64

to_mti

to_nc

to_ncverilog

to_irun

to_vcs

to_vcsi

Example of Setting the Path

To translate from mti to ncsim, set the system's PATH to contain the following paths:

1.The path to the new simulator: the ncsim executable (in this example it is already in the path so the code is not repeated).

2.The path to SimSwapper which is located in the SynaptiCAD bin directory.

3.The translation script path: from_mti/to_ncsim

On Windows, you could do this with:

 set PATH=C:\SynaptiCAD\bin\swapper\from_mti\to_ncsim;C:\SynaptiCAD\bin\Win32;%PATH%

On UNIX:

 PATH=/usr/local/synapticad-<version>/bin/simswapper/from_mti/to_ncsim:/usr/local/synapticad-<version>/bin:$PATH

 export PATH

Now, when you run your mti simulation script, it will run SimSwapper and translate to ncsim.