Creating a Schematic using Edif2Eddm

 

1. Setting the Working Directory. 1

2. Invoking the edif2eddm script 1

3. Generating Schematic Using Schematic Generator 1

 

It does not matter whether or not you arrived at this point using the Leonardo GUI, or the Command Line Leonardo, the following procedure will be the same.  The next step in the design flow is to produce an EDDM schematic from the EDIF file. This is done using the edif2eddm script. The edif2eddm script invokes Enread to read your EDIF netlist file and convert that file to an EDDM file.  It then invokes Schematic Generator to create a visual schematic.  Finally the adk_dve script is invoked to create the design viewpoints. The edif2eddm command creates a ‘work’ folder where it saves the schematic and its associated files.

. 4

1. Setting the Working Directory

 

From the UNIX terminal, navigate to the directory where your edf file is located.  In this case the edf file was created in the projects hdl directory.

 

/hds_projects/TUTORIAL/TUTORIAL_lib/hdl

 

Set this as the working directory using the “swd” command.

 

2. Invoking the edif2eddm script

 

Next invoke the edif2eddm script using the command

 

edif2eddm design_name.edf design_name.eddm

 

This will create a file called “design_name.eddm” using the file “design_name.edf.”  In this case the “design_name” is whatever called your edif file in Leonardo spectrum.

 

There may be a few errors generated by the Schematic Generator option that you can ignore for now – there is a bug in the script that we will fix in the following step.. The edif2eddm script will locate the top level of your design from the EDIF file, will create a ‘work’ directory in the current directory, and (theoretically) will put a new schematic in it. It creates a viewpoint with your design_name and additional viewpoints for IC layout using the adk_dve script.

 

3. Generating Schematic Using Schematic Generator

 

Invoke schematic generator using the “sg” command.

 

Use the File->Open Design from Viewpoint. 

 

Use the “navigator button” to select the viewpoint with the same name as our design i.e. “design_name” and click the OK” button.  There should be 6 viewpoints in all: accusim, ami05, design_name, layout, lvs, and sdl). A blank schematic window will appear in the sg tool window.”  If you get an error about viewpoint not found, quit sg, delete the work folder and run the edif2eddm script again.

 

 

 

Use the Setup->Symbol->Use Genlib Classification menu item to setup the symbol classification.

 

Right click on the empty sheet.  Choose the Partition Setup command from the pop up menus (right mouse button) to bring up the Partition Setup dialog box.

 

 

Click on the Number of Sheets button, make sure the Number of Sheets item is set to 1 and click “OK.”

 

 Press the “F3” button to generate the schematic.  The schematic that comes up is a standard-cell layout of your design.

 

 

Use the File->Save menu item to save the schematic and exit the sg tool.

 

Continue to Creating an Automated Layout Using IC - Station