next up previous contents index
Next: Database commands: write Up: The database commands Previous: Database commands: boundary   Contents   Index


Database commands: read

Syntax: read source [filename]

This command will read a file into the database. The source keyord must be one of the following.

config
This will read a configuration file in the format used by the Qrouter from which MRouter was derived. If no filename is given, the name ``route.config'' is assumed. If given, the filename should be a path to a Qrouter-style config file. This functionality is deprecated and may be removed at some point.

script
A script is a text file containing commands, as described in this section, one per line. The filename should be a path to such a file. The file will be read, and the commands executed in order, unless a fatal error occurs, which terminates execution. Calls to read scripts can recurse to any depth.

lef
The filename should be a path to a file in the Cadence LEF format (Layout Exchange Format). This is an industry-standard format used to provide routing information about the standard cells to be used by the router. This includes technology information about the routing layers (e.g., routing direction, pitch, width), and/or definitions of the standard cells including size information and terminal locations. It may also provide definitions for the standard vias defined for the process.

def
The filename should be a path to a file in the Cadence DEF format (Design Exchange Format). This is an industry-standard format used to pass netlist information. This will include placement locations and orientations of the cell instances used in the design, plus a list of nets which define the circuit. The DEF file provides the nets in abstract form, the router implements these nets in physical form.


next up previous contents index
Next: Database commands: write Up: The database commands Previous: Database commands: boundary   Contents   Index
Stephen R. Whiteley 2017-02-17