SystemDesigner

SystemDesigner Tutorial

This tutorial explains the following:

In this Topic Hide

Starting a New Design

To start a new design, follow these steps.

  1. From the Schematic Editor menu bar, select File | New.
  2. From the menu bar, select File | Save and type a file name in the Save As... window.

    Note: This tutorial uses myExample as the file name.

  3. From the Schematic Editor menu bar, select SystemDesigner | Edit SystemDesigner Clocks....
  4. At the prompt to copy the default configuration file, click Yes

    After you click Yes, the configuration file is copied to myExample.systemdesigner, and then the Edit SystemDesigner Clocks dialog appears.
  5. Set the SysClk label and frequency as shown below.
    Column Value
    Label 2Meg
    Frequency (Hz) 2Meg

    Note: The default settings in the other columns are valid.

  6. To save your clock information, click OK.
    OR
    To view a simulation of the clocks, click Close and Graph Clocks.
    A simulation including only the global clocks executes, and two cycles of the lowest clock frequency appear on the graph viewer.

Note: You can return to the Edit SystemDesigner Clocks dialog to add or remove clocks; however, if you remove a clock, you must edit any SystemDesigner components that previously used that clock. In the future, an audit system will prevent you from simulating a design where a previously defined clock was used on a SystemDesigner component.

For more information about setting up clocks, see SystemDesigner Clocks.

Adding Components to the Schematic

You can use the Parts Selector on the right side of the Schematic editor to place all SystemDesigner components. If the Parts Selector pane is hidden, click the blue Show Parts Selector link in the upper-right corner of the schematic.

All SystemDesigner components are in the SystemDesigner Functions  (max. 32 bit) section of the selection tree as shown below:

You have a choice of ways to select components to place on the schematic:

After you select a part, move your cursor onto the schematic and then click where you want to place that component.

To place parts for this tutorial example, follow these steps.

  1. From the A to D / D to A section of the SystemDesigner Functions (max. 32 bit), select and place SystemDesigner - A to D Converter.
  2. To place a waveform generator, type the keyboard shortcut, W with your cursor on the schematic, and then click to place the component.
  3. From the Commonly Used Parts section of the Parts Selector:
    1. Select and add AC Source (for AC Analysis).
    2. Select and add Ground.

    At this stage, the schematic should have three components and a ground symbol.

  4. Wire the waveform generator, AC source, and ground to the ADC as shown below with the green lines.

  5. To enable simulation of the design with the SIMPLIS POP and AC analyses, follow these steps to place a POP trigger and a square wave source that drives the POP trigger device.
    1. To place another waveform generator, type the keyboard shortcut W with your cursor on the schematic, and then click to place the component.
    2. To place the POP Trigger device, click the Search link at the top of the Parts Selector and type POP in the search box; then click OK and click on the schematic to place the Pop Trigger.
    3. Wire the Waveform generator V3 to the POP trigger device and add a ground symbol from the Commonly Used Parts section of the Parts Selector.
      The schematic should now look like this:

    At this stage, you are ready to add two probes to view the output waveforms. Because SystemDesigner Buses, such as the output of the ADC, are treated differently than both analog voltages and other digital buses, special probes have been developed to probe the Bus signals.

  6. To place the special probes, follow these steps using the Probes category in  the SystemDesigner Functions (Max 32 bits) section of the Parts Selector.

    1. Select and place a SystemDesigner - Bus Probe and a SystemDesigner - Bode Plot Probe (Analog IN, SD_BUS OUT).
    2. Wire these probes as shown below with a SystemDesigner bus connected to the OUT pin on the Bode Plot Probe.

  7. To save the schematic at this point, select File | Save.

In the next section, you edit parameter values for four of the components and set up the analysis types.

Editing Component Values

If you are not sure about the purpose of a parameter as you edit the components, hover your mouse cursor over the parameter name or over the related text box or menu to view the associated tool tip.

To edit components for this tutorial example, follow these steps:

  1. Double click on the ADC symbol on the schematic to bring up the edit dialog.
  2. Set the LSB weight to 200m as shown below:

    Note:The dialog box for each device that uses clocks is populated with values set in the SystemDesigner Clocks dialog. The default clock is the system clock (SysCLK) and is selected for this ADC.  In the first procedure in this tutorial, you set the Label of the SysCLK to 2Meg which now appears in the Conversion Clock field and, in this tutorial, is appropriate for the design.

  3. Click Ok to close the edit dialog.
  4. Double click the waveform generator V3, and make the following changes:
    Parameter Value
    Frequency 1Meg
    Pulse 5

    Note: When you change the Pulse value, the offset and Amplitude change automatically as shown below.

  5. Double click the V1 waveform generator and change these parameter values:
    Parameter Value
    Initial (voltage) -1
    Wave shape Sine
    Source idle during POP and AC Analyses Check

  6. Double click the SystemDesigner bus probe:
    1. In the Curve label text box, type sampled data.
    2. In the "Plot Integer data as" section, select Analog waveform as shown below.

To set up the analysis types and set the analysis parameters, follow these steps:

  1. From the menu bar, choose Simulator | Choose Analysis, and check all three analyses: POP, AC, and Transient.
  2. Set the parameters as listed below.
    POP AC Transient
    Select Use "POP Trigger" schematic device. Stop Frequency = 10Meg Stop time = 100u
    Maximum Period = 1.1u  
  3. Click Ok, and then, to save your schematic, select File | Save.

    A completed schematic example can be downloaded here: myExample.zip.

Running SystemDesigner

SIMPLIS SystemDesigner has two sampled-time simulation modes: signed integer and double-precision floating point. The default sampled data type is Signed Integer. The current default is labeled in the SystemDesigner menu with => as shown below:

The following table lists the menu options to set a default simulation type from the SystemDesigner menu.

Mode

To set default simulation
Signed integer SystemDesigner | Set Default (F9) Sampled Data Type | Signed Integer

Double-precision floating point

SystemDesigner | Set Default (F9) Sampled Data Type | Double Precision Floating Point

To run the default simulation, which, in this case, is the signed integer simulation, do one of the following:

Signed-integer simulation results:

To run the double-precision floating-point simulation, select SystemDesigner | Run w/ Sampled Data Type | Double Precision Floating Point from the menu bar.

Double-precision floating-point simulation results:

AC analysis results

To see the AC analysis results, click on the simplis_ac1 Phase tab:

© 2015 simplistechnologies.com | All Rights Reserved