3.1.5 Create New CUPL Simulation Input File

The next step in the design development process is to create a new CUPL Simulation Input (.SI) file using the built-in text editor in WinCUPL II. This file is used by the CUPL simulator to run a functional simulation of the CUPL design.

In WinCUPL II, select the Design Flow tab and then click the NEW/EDIT button under Simulation File Manager to launch the text editor. The software will automatically create a new CUPL Simulation Input file named AND_2.si, based on the file name used for the project file.
Figure 3-12. Simulation File Manager

Enter the following text into the text editor:
Note: The CUPL compiler and simulator require a carriage return to be present at the end of the CUPL design and simulation input files.

In the text editor, select FileSave to save the CUPL Simulation Input file. This file will be saved as AND_2.si in the AND_2 project directory (for example, \WinCUPL\Tutorial\Tutorial_1).