« Prev | Next » 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 the conversion process, copy the ncsim_translator folder to the Riviera_install_dir/scripts/aldec folder. The ncsim_translator folder can be downloaded here: ncsim_translator.zip Using the Script Translator In Riviera-PRO, point to the location of the design with the Incisive script. Create a translate.do script and copy the template below. The input_Incisive_script.sh is the incisive script that you want to convert, and the output_rPro_script.sh is the output script that will be created by Riviera-PRO. package require ::Aldec::NCsimConverter 1.0 ::Aldec::NCsimConverter::convert <input_ incisive_script.sh> <output_rpro_script.do> Upon execution of the translate.do script, the output_rpro_script.do will be created. Successful execution of 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. Previous article Next article