Using NC-Verilog® Verilog-XL® scripts in Riviera-PRO
Aldec provides an automatic script translator to convert Cadence’s Incisive simulation scripts to Aldec’s Riviera-PRO format. Currently, the translator supports the primary commands: ncvlog, ncelab and ncsim with basic switches.
The Initial Setup
In order to configure Riviera-Pro for conversion process, copy the ncsim_translator directory to the /scripts/aldec folder in the Riviera-Pro installation directory.
Using the Script Translator
In Riviera-Pro point to the location where the design with Incisive script is at.
Create a translate.do script and copy the template below. Make sure to replace the names of the input Incisive script and output Riviera-Pro script.
package require ::Aldec::NCsimConverter 1.0::Aldec::NCsimConverter::convert <input_ incisive_script.sh> <output_rpro_script.do>Upon execution of the translate.do the output_rpro_script.do will be created. Successful execution of the translate.do should give the following message in the console –
package require ::Aldec::NCsimConverter 1.0 # 1.0 ::Aldec::NCsimConverter::convert runme_cds.sh runme_riviera.do # Processing... # Script converted succesfully.
NOTE: If you receive the following error, make sure the ncsim_translator directory has been copied to the correct Riviera-Pro installation directory –
package require ::Aldec::NCsimConverter 1.0 # SCRIPTER: Error: C:/convert.do : (1, 1): can't find package ::Aldec::NCsimConverter 1.0 # SCRIPTER: Error: C:/convert.do : (1, 1): Script execution terminated due to error(s).
Run output_rpro_script.do in the Riviera-Pro GUI console or batch mode simulator VSimSA.
