
Note: Although the command compile is still known by the SYNOPSYS DESIGN COMPILER, it has been re-
placed by compile_ultra. During this exercise, you may find the compile command somewhere, but this is
for demonstration purposes only.
4.5 The Sample Design
Now that you are familiar with the most important synthesis steps, we will explain how to use the SYNOPSYS DESIGN
COMPILER with the aid of a small sample design. Open the file ./sourcecode/crc4.vhd and have a look at the source. Make
sure you understand the design.
Start analyzing the design by selecting File→Analyze... in the Design Vision GUI. Press ADD... and in the pop-up
window select the file crc4.vhd. As library select WORK . You can tick the field Create new library if it doesn‘t exist. Click
OK to initiate the analyze step. You will not see any design in the Hierarchy Browser window as this command only checks
the syntax.
After having translated the VHDL source code, the next step in the SYNOPSYS DESIGN COMPILER synthesis flow is to build
a technology independent netlist, implementing the described behavior by means of generic circuit elements. Perform the
following steps in order to start the elaboration:
1. Navigate to File→Elaborate...
2. Select Library: WORK
3. Select Design: CRC4(BEHAVE CRC4)
4. Select Reanalyze out-of-date libraries
5. Click OK
You should now see an icon for crc4 in the Hierarchy Browser, indicating that the design is now present in SYNOPSYS
DESIGN COMPILER’s memory.
It is good practice to store your design after every important step in the synthesis flow. This eases potential re-iteration
steps. Select File→Save as... and change to the ./DDC directory in the Save Design dialog box that pops up. Save
the design in ∗.ddc format to a file named crc4.ddc.
Now, let us start mapping the circuit to the target library, i.e., perform the compilation step. Navigate to Design→\
Compile Design.... In the following pop-up window click the OK button to start the compilation of your design.
When the compilation finishes, the next step within the design flow is to make your design ready for further use in other
EDA tools. For that, you will now create a Verilog netlist from your design (which can later be read from other EDA tools).
In order to save your design as a Verilog netlist, you must first perform a simple conversion to adapt the internal SYNOPSYS
DESIGN COMPILER name definitions to standard Verilog definitions. Enter the following commands into the Design Vision
Console in order to perform the conversion:
dvc > change_names -rule verilog -hierarchy
Afterwards, navigate to File→Save As..., select the netlists directory and enter the name crc4. Choose the format
VERILOG (v) and press SAVE. The netlist (crc4.v) is now ready for back-end design.
4.5.1 The Netlist
The Verilog netlist, which you have just created in the previous task, is a very widely accepted data format (i.e., can be read
by most of the CAE/CAD tools available on the market). Therefore, we will investigate it a little bit more in detail throughout
this section.
Student Task 1:
• All synthesis-related files can be found in the directory synopsys. Therefore, use a UNIX shell and change to
that directory first:
sh > cd synopsys
• Next, navigate to the previously created netlist (If you have followed our instructions, it should be located in
./synopsys/netlists/).
6
Komentáře k této Příručce