Source File Encryption

011_encryption : Source File Encryption

Minimum Required Versions: SILOS 4.12.1.C

The example 011_encryption consists of a testbench file and a module definition file. We will encrypt the module definition file and run SILOS simulations using both the unencrypted and encrypted files.

Simulate project using the unencrypted module definition file

  • Start SILOS, open the project file "arbiter_unencrypt.spjx" and click "Go" to run the simulation.
  • Open explorer window and select the module top.U in the module tree.
  • Observe the module pins and internal variables are displayed in the explorer window list window.
  • Right click and select "Goto Module Definition" in the context menu.
  • Observe the unencrypted module source file "arbiter0.v" is opened in a source edit window.

Encrypt the module definition file

  • From a command window, encrypt the module definition file "arbiter0.v" using the Silvaco encryption utility "sencrypt" command "sencrypt -@ arbiter0.v arbiter0_encrypt.v"

Simulate project using the encrypted module definition file

  • Start SILOS, open the project file "arbiter_encrypt.spjx" and click "Go" to run the simulation.
  • Open explorer window and select the module top.U in the module tree.
  • Observe the module pins and internal variables for the encrypted module are not displayed in the explorer window list window.
  • Right click and select "Goto Module Definition" in the context menu.
  • Observe the encrypted module source file "arbiter0_encrypt.v" is opened in a source edit window.