|
|||||||||||
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.VHDLNetlister
Platform-independent VHDL netlister. Creates a structural VHDL netlist of the JHDL circuit in a single file. Does not currently do anything with attributes. This is a pretty thorough revamp of the original netlister. It traverses the cell list more often, but is much easier to follow in case modifications need to be made.
Field Summary |
Fields inherited from class byucc.jhdl.netlisters.Netlister |
flat_netlist, jout, printTimestamp, topcell |
Constructor Summary | |
VHDLNetlister()
|
Method Summary | |
protected void |
expand(Cell currentCell,
NetlistWriter output)
Given a cell, returns the text to go in the output file for cell expansion. |
void |
footer(Cell c,
NetlistWriter output)
Instantiates footer from Netlister, no conclusion needed |
java.lang.String |
generateFilename(Cell c)
Generates a netlist filename. |
void |
header(Cell c,
NetlistWriter output)
Instantiates header from Netlister, prints preliminary part of netlist |
void |
netlist(Cell c,
java.lang.String file)
Create a structural vhdl 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 VHDLNetlister()
Method Detail |
public java.lang.String generateFilename(Cell c)
generateFilename
in class Netlister
c
- the Cell
to be netlisted.
public void netlist(Cell c, java.lang.String file)
netlist
in class Netlister
c
- top-level Cell
to netlist.file
- netlist filenameprotected void expand(Cell currentCell, NetlistWriter output)
Netlister
expand
in class Netlister
currentCell
- the cell to be expandedoutput
- the NetlistWriter to print the netlist topublic void header(Cell c, NetlistWriter output)
header
in class Netlister
c
- the top-level celloutput
- the output filepublic void footer(Cell c, NetlistWriter output)
footer
in class Netlister
c
- the top-level celloutput
- the output file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |