|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.netlisters.Netlister
byucc.jhdl.netlisters.OptNetlister
This class provides a netlist of a given cell and its descendants in some format.
| Field Summary |
| Fields inherited from class byucc.jhdl.netlisters.Netlister |
flat_netlist, jout, printTimestamp, topcell |
| Constructor Summary | |
OptNetlister()
Construct an EDIFNetlister with default of no top level ports and a hierarchical netlist. |
|
OptNetlister(boolean insert_ports)
Construct an EDIFNetlister with specified top-level port insertion behavior, and a hierarchical netlist. |
|
OptNetlister(boolean insert_ports,
boolean flat_netlist)
Construct an EDIFNetlister with specified top-level port insertion behavior and specified hierarchical or flat behavior. |
|
| Method Summary | |
protected void |
expand(Cell c,
NetlistWriter output)
Netlists the given cell to the given output writer |
protected void |
footer(Cell top,
NetlistWriter output)
Generates the tail of the netlist file. |
java.lang.String |
generateFilename(Cell c)
Creates the default filename for edif generated for the given cell |
protected void |
header(Cell c,
NetlistWriter output)
Generates the file header for the netlist. |
void |
netlist(Cell c,
java.lang.String file)
Netlists the given cell to the named file |
void |
print()
here for debugging purposes - prints a screen version of the JHDL netlist |
| Methods inherited from class byucc.jhdl.netlisters.Netlister |
getFlatNetlistFlag, getPrintTimestamp, netlist, netlist, netlist, netlist, setFlatNetlistFlag, setPrintTimestamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OptNetlister()
public OptNetlister(boolean insert_ports)
insert_ports - Passed to #setInsertTopLevelPorts(boolean)
public OptNetlister(boolean insert_ports,
boolean flat_netlist)
insert_ports - Passed to #setInsertTopLevelPorts(boolean)flat_netlist - Passed to Netlister.setFlatNetlistFlag(boolean)| Method Detail |
public java.lang.String generateFilename(Cell c)
generateFilename in class Netlisterc - the cell at the root of the netlist
public void netlist(Cell c,
java.lang.String file)
netlist in class Netlisterc - the cell (and descendents) to netlistfile - the file to put the results to (overwrites any existing file)
protected void expand(Cell c,
NetlistWriter output)
expand in class Netlisterc - the cell (and descendents) to netlistoutput - where to send the output.public void print()
protected void header(Cell c,
NetlistWriter output)
header in class Netlisterc - the root cell of the netlistoutput - where to direct the output
protected void footer(Cell top,
NetlistWriter output)
footer in class Netlistertop - the root of the netlistoutput - where to direct the output
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||