|
|||||||||||
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.EDIFNetlister
This class provides a netlist of a given cell and its descendants in EDIF 2.0 format. By default, the netlist is hierarchical, and multi-bit ports are listed in array notation.
Field Summary |
Fields inherited from class byucc.jhdl.netlisters.Netlister |
flat_netlist, jout, printTimestamp, topcell |
Constructor Summary | |
EDIFNetlister()
Construct an EDIFNetlister with default of no top level ports and a hierarchical netlist. |
|
EDIFNetlister(boolean insert_ports)
Construct an EDIFNetlister with specified top-level port insertion behavior, and a hierarchical netlist. |
|
EDIFNetlister(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 |
boolean |
getInsertTechMapHints()
Deprecated. use getInsertTechMapHints()
of the techmapper |
boolean |
getInsertTopLevelPorts()
Returns the current value of whether EDIF will insert top-level ports. |
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 |
void |
setInsertPads(boolean b)
Deprecated. use setInsertPads()
of the techmapper |
void |
setInsertTechMapHints(boolean b)
Deprecated. use setInsertTechMapHints()
of the techmapper |
void |
setInsertTopLevelPorts(boolean b)
Sets whether or not the EDIF Netlister should include ports on the top-level design. |
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 EDIFNetlister()
public EDIFNetlister(boolean insert_ports)
insert_ports
- Passed to setInsertTopLevelPorts(boolean)
public EDIFNetlister(boolean insert_ports, boolean flat_netlist)
insert_ports
- Passed to setInsertTopLevelPorts(boolean)
flat_netlist
- Passed to Netlister.setFlatNetlistFlag(boolean)
Method Detail |
public void setInsertTopLevelPorts(boolean b)
b
- the new value of the flag (true inserts the top level ports)getInsertTopLevelPorts()
public final boolean getInsertTopLevelPorts()
public void setInsertPads(boolean b)
setInsertPads()
of the techmapper
public void setInsertTechMapHints(boolean b)
setInsertTechMapHints()
of the techmapper
public boolean getInsertTechMapHints()
getInsertTechMapHints()
of the techmapper
public java.lang.String generateFilename(Cell c)
generateFilename
in class Netlister
c
- the cell at the root of the netlist
public void netlist(Cell c, java.lang.String file)
netlist
in class Netlister
c
- 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 Netlister
c
- the cell (and descendents) to netlistoutput
- where to send the output.public void print()
protected void header(Cell c, NetlistWriter output)
header
in class Netlister
c
- the root cell of the netlistoutput
- where to direct the outputprotected void footer(Cell top, NetlistWriter output)
footer
in class Netlister
top
- 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 |