RS Flipflop Schematic Simulation

001_RSFF_sim : RS Flipflop Schematic Simulation

Minimum Required Versions: Gateway 2.12.10.R, SILOS 4.10.90.R

The Gateway schematic front end can capture digital circuits for netlisting in the verilog format and simulating in the Silvaco SILOS simulator. To set Gateway for verilog netlisting, either change the simulator options in the preferences, or click on the SILOS button in the Design Browser window (see window.png ).

The top level of the RSFF simulation schematic ( RSFF_simulation.png ) is shown as a block level device under test named X1. Descending below X1 reveals the design schematic ( RSFF.png ) which shows the NAND2 and NAND3 instances. On this level, the tree in the design browser shows the four instances by name. The instances in the design browser also provide a way to navigate to the symbol master for editing, or for editing the instance itself. Right clicking on the instance in the design browser reveals the options ( instance.png ). In this case, the icons show a text file with a plus sign, denoting that the module definition for these cells come from an attached file. Clicking the Goto Definition in the menu opens the module definition for the cell ( module_definition.png ).

At this point, the schematic can be checked and then netlisted. When the simulator is set to SILOS, Gateway generates verilog netlists with a *.v file extension. Clicking on the netlist button on the toolbar generates the netlist file ( RSFF_simulation.v). Also, when SILOS is set as the simulator, the control files have a *.ctrv file extension to designate that the test bench is verilog. For this example, clicking on the control file icon shows the verilog test bench in the control file ( RSFF_simulation.ctrv). At the beginning of this file, a clock generator module is included in the stimulus module for generating the pulses required to stimulate the device under test. When SILOS is set as the simulator, Gateway generates *.cfv files as input files for SILOS to use. These files contain library and module input file information required for the project for SILOS. Finally, Gateway also generates a *.spj SILOS project file when the input file is generated. That project file can then be run in the SILOS application interactively and separately from Gateway, if desired. The configuration file ( RSFF_simulation.cfv) and project file ( RSFF_simulation.spj) for this example are displayed.

After the simulation, nodes of interest are shown in the SmartView waveform viewer ( smartview.png ).