|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.synth.operators.LogicSynthesizer
byucc.jhdl.synth.operators.ShiftSynthesizer
A class responsible for synthesizing shift operators in a DataFlowGraph This class extends LogicSynthesizer and will call LogicSynthesizer.createCell after sorting the inputWires as appropriate so that the shifter's wires are connected correctly.
Constructor Summary | |
ShiftSynthesizer()
|
Method Summary | |
Wire |
createCell(Logic parent,
DFVertex operator,
Wire[] inputWires)
Create a cell from the given DFVertex operator. |
Methods inherited from class byucc.jhdl.synth.operators.LogicSynthesizer |
resolveInputWidths, resolveOutputWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShiftSynthesizer()
Method Detail |
public Wire createCell(Logic parent, DFVertex operator, Wire[] inputWires)
The only way in which ShiftSynthesizer is different from LogicSynthesizer is that we have to manually make the Logic call to create the cell. The parameter order for shift calls must be wire first and shift amount second.
createCell
in interface OperatorSynthesizer
createCell
in class LogicSynthesizer
operator
- an operator in a DataFlowGraph specifying the operation to
be performed by the new cell.inputWires
- ignored
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |