Previous

All-Schematic Designs

The following procedure describes how to create a top-level schematic design that contains schematics only, that is, there are no instantiated HDL or State Machine macros.

Creating the Schematic and Generating a Netlist

This section lists the basic steps for creating a schematic and generating a netlist from it.

  1. Open Schematic Capture by selecting the Schematic Capture icon from the Design Entry box on the Project Manager's Flow tab.

    figures/abcd1_2.gif

  2. Select Mode Symbols to add components to your new schematic. Select specific components from the SC Symbols window.

  3. Complete your schematic by placing additional components from the Symbol toolbox including I/O ports, nets, buses, labels, and attributes.

  4. Save your schematic by selecting File Save.

For more information about schematic designs, see the “Schematic Design Entry” chapter or in the Schematic Capture window, select Help Schematic Editor Help Contents.

Performing Functional Simulation

  1. Open the Logic Simulator by clicking the Functional Simulation icon in the Simulation box on the Project Manager's Flow tab.

    figures/abcd1_3.gif

    The design is automatically loaded into the simulator. The Waveform Viewer window displays on top of the Logic Simulator window.

  2. Add signals by selecting Signal Add Signals.

  3. From the Signals Selection portion of the Components Selection for Waveform Viewer window, select the signals that you want to see in the simulator.

  4. Use CTRL-click to select multiple signals. Make sure you add output signals as well as input signals.

  5. Click Add and then Close. The signals are added to the Waveform Viewer in the Logic Simulator screen.

  6. Select Signal Add Stimulators from the Logic Simulator menu. The Stimulator Selection window displays.

  7. In the Stimulator Selection window, create the waveform stimulus by attaching stimulus to the inputs. For more details on how to use the Stimulus Selection window, click the Help button.

  8. After the stimulus has been applied to all inputs, click the Simulation Step icon on the Logic Simulator toolbar to perform a simulation step. The length of the step can be changed in the Simulation Step Value pulldown menu to the right of the Simulation Step box. (If the Simulator window is not open, select View Main Toolbar.)

    figures/step.gif

  9. Verify that the output waveform is correct. Click the Step button repeatedly to continue simulating.

  10. To save the stimulus for future viewing or reuse, select File Save Waveform. Enter a file name with a .tve extension in the File name box of the Save Waveform window. Click OK.

    For more information about saving and loading test vectors, from the Logic Simulator window, select Help Logic Simulator Help Contents. Then select Simulator Reference Working With Waveforms Saving and Loading Waveforms.

Implementing the Design

  1. Click the Implementation icon in the Implementation box on the Project Manager's Flow tab.

    figures/abcd1_4.gif

  2. The Implement Design dialog box appears.

    figures/sc_imp1.gif

    By default, the Implementation targets the device that was previously selected when you created the project. If you want to retarget the design to a different device, use the Implement Design dialog box. If you want to retarget to a new device family, you must first do so in the Foundation Project Manager by selecting File Project Type.

    The first time you implement the design, a new version of the design is created and given the default version and revision name shown in the Implement Design dialog box. If you want, you can enter your own version or revision names.

    On successive implementations of the design, a new revision is created for the current version and given the default revision name shown in the Implement Design dialog box. Or, you can select to overwrite the current revision.

    If you want to implement a new version of the design (after the initial implementation), you must first create the new version by selecting Project Create Version. This accesses the New Version dialog box. Click OK to accept the default name or enter a new name and click OK. Then implement the design.

  3. In the Implement Design dialog box, select Options. The Options dialog box displays.

    figures/sc_impo.gif

  4. Choose any desired implementation option. If you are planning on conducting a timing simulation, select the Produce Timing Simulation Data option.

  5. Click OK to return to the Implement Design dialog box.

  6. Click Run to implement your design. The Flow Engine displays the progress of the implementation.

    When Implementation is complete, a dialog box appears indicating whether implementation was successful or not.

    For more information on the Flow Engine, refer to the “Design Implementation” chapter or select Help Foundation Help Contents Flow Engine.

  7. Select the Reports tab on the Project Manager window to review your design reports (Implementation Report Files).

Verifying the Design

Performing a Static Timing Analysis (Optional)

  1. Click the Timing Analyzer icon in the Verification box on the Project Manager's Flow tab.

    figures/abcd1_5.gif

  2. Perform a static timing analysis on mapped or placed and routed designs for FPGAs.

For FPGAs, you can perform a post-MAP or post-place timing analysis to obtain rough timing information before routing delays are added. You can also perform a post-implementation timing analysis on CPLDs after a design has been implemented using the CPLD fitter.

For details on how to use the Timing Analyzer, select Help Foundation Help Contents Timing Analyzer.

Performing a Timing Simulation

  1. Open the Timing Simulator by clicking the Timing Simulation icon in the Verification box on the Project Managers's Flow tab. The implementation timing netlist will be loaded into the simulator.

    figures/abcd1_6.gif

  2. The Waveform Viewer window displays on top of the Logic Simulator window.

    Refer to the “Performing Functional Simulation” section for instructions on simulating the design. (The operation of the simulator is the same for functional and timing simulation.)

  3. If you have already saved test vectors (for instance, in the functional simulation), you may load these vectors into the timing simulator by selecting File Load Waveform.

Programming the Device

  1. Click the Device Programming icon in the Programming box on the Project Manager's Flow tab.

    figures/abcd1_7.gif

  2. From the Select Program box, choose the Hardware Debugger, the PROM File Formatter, or the JTAG Programmer.

    For CPLD designs, you must use the JTAG Programmer. For instructions, select Help Foundation Help Contents Advanced Tools JTAG Programmer.

    For FPGA designs, use the JTAG Programmer, Hardware Debugger, or PROM File Formatter. For instructions, select Help Foundation Help Contents Advanced Tools and then select the desired tool.

Next