Module 9 Database Commands
Module 9 Database Commands
Table of Contents
Getting Started
2. Start the software by entering this command in a csh window (after you source the
cshrc):
innovus
3. Using the GUI, restore a previously stored design preCTSopt.enc from you current directory.
You can restore any other saved design instead of preCTSopt.enc.
4. In the Innovus csh window, enter the following:
help dbGet
This will return the comman d-line options of the command. The usage is:
Usage: dbGet
dbGet
[-p \ -<p_number>]
[-u]
[-regexp]
[-d]
{<objectList> | head | top |selected}
[.<object_type>]*
[.<attribute_name> | .? | .?? | .?h]
[<pattern>]
[-help]
5. Select head from the attributes that are available at this level and enter:
dbGet head.?
This command returns the attributes that are available at this level.
The attributes are:
head: allCells dbunits layers mfgGrid objType props ptns
rules vias
6. Some interesting attributes at this level are dbUnits and mfgGrid. To report the values, enter
the following commands:
dbGet head.dbUnits
What is the value that is returned? Answer: __________
7. Enter the following command:
dbGet head.mfgGrid
What is the value that is returned? Answer: __________
16. Report the size of the halo on the right of the block by entering the
following command: dbGet selected.pHaloRight
What is the value that is returned? Answer: __________
17. Change the size of the halo around the block by entering
the following: dbSet selected.pHaloRight 5
18. Refresh the Innovus design window to view the change.
19. Now query some of the properties of the selected instances, by entering
this command: dbGet selected.pgTermNets.?
20. Explore the attributes and properties that are returned and change them
21. Save the design as preCTSopt_db.enc.
22. Close the Innovus software.
Summary
In this lab, you ran the db commands to report and modify the attributes of the design and its objects.