Last modified: 2016-09-05 15:56:31
Before we start (only on the first time use of the tool)
Create some directory for the work with Synopsys (for example hdl) and go into this
directory:
- mkdir hdl
- cd hdl
Copy into this directory the Synopsys setup file for synthesis (be sure, that you can see the M folder):
- cp M/Peeter.Ellervee/.synopsys_dc.setup .
Inside hdl directory create a subdirectory WORK.syn. Synopsys creates a lot
of files during work, which are not needed in the hdl directory.
- mkdir WORK.syn
Invoke Synopsys always from the directory where the Synopsys setup file is (in this case
it is in the hdl directory).
Invoking the Synopsys environment
Change the directory to the directory with your synopsys setup file:
- cd hdl
Activate Synopsys 2010 (the 3rd selection):
- cad
- 3
Invoke Synopsys with the following command:
- design_vision &
The & in the end of the command shows that the program is run in the backround and the
promt is returned immediately. It means that to run another process you don’t have
to open a new command line window. You can use & behind every process command.
On Figure 1 is the Synopsys main window.
Figure 1. Synopsys Design Vision main window.
Synopsys converts the instructions in the dialog box into a sequence of “shell”
commands. You can see the command in the Command Window (by default it is
opened in the bottom of the program window). To open a Command Window:
- Select View->Toolbars->Console
Basic steps for synthesize
- Select a target technology for synthesis (this is written in the setup file, usually default is okay).
- Read the HDL design.
- Synthesize the design (optimizing the logic and mapping to the target technology).
- Writing out the synthesized netlist in a format, which can be used by gate-level
simulation and/or FPGA layout tools.
Reading the input design
Execute the following steps to read in your design:
- Select File->Analyze
- In the file browser select the file you wish to synthesize. For example up_down_counter_orig.vhd.
All the files must be analyzed in depending sequence (the top of the design hierarchy is the last one). - Choose the correct format of the file you want to synthesize and press OK.
If the reading caused an error!!!
There’s a possibility that when reading the file an error occurs and Design Vision program closes itself. In
this case do the following.
- Open Design Vision in the directory where the design files are.
- In the Design Vision command line write analyze -format vhdl filename.vhd, where filename.vhd is the designs filename.
- If everything went smoothly continues with elaborate step (you can use the File->Elaborate from now on).
The Analyze Designs window is on the Figure 2.
Figure 2. Analyze Designs window.
- Afterwards you need to join all your modules.
- Select File->Elaborate
- From the library select either DEFAULT or WORK. You should select the top
module of the hierarchy. For example UP_DOWN_COUNTER(RTL). - You need to specify the parameters of your design. If you have generics in your entity
description. For example bitwidth = 4 - Press OK. The Elaborate Designs window is on Figure 3.
Figure 3. Elaborate Designs window.
Navigation in the hierarchy
- Click on the icon Create Symbol View and you’ll see schematic of your design.
The same action can be done through Schematic->New Symbol View. - Click on the Create Design Schematic to see the netlist.
Figure 4. Symbol view.
Synthesizing the design
Clock signal binding
- Bind the clock signal with certain frequency. Use the left click to select
the port corresponding to the clock signal (on the schematic view of the design). - Select Attribute->Specify Clock.
- Write the clock signal name and specify the period of the clock signal. For example 20 ns.
- Also specify the time of rising and falling edges of the signal. For example 0 ns and 10 ns.
- Click OK.
On the Figure 5 the Specify Clock signal window is shown.
Figure 5. Specify Clock window.
Compiling the design
- Design->Compile Design.
- Select Map Effort->Medium.
- Press OK.
On the Figure 6 is the Compile window view.
Figure 6. Compile window.
Netlist view
Now look at the netlist view.
Generating reports
In order to see the results of the analysis select Design. In the part of the Report select Report Area….
For timing analysis, select Timing->Report Timing Path…. You can also make a combined report with the help
of a command report_qor (Figure 7).
Figure 7. Report.
Finally analize the results. To exit the tool go File->Exit.