|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.PF.Block
public abstract class Block
A Block is a programmable sub-circuit.
Constructor Summary | |
---|---|
Block()
Dummy Constructor |
|
Block(int u,
int v,
UC c)
Constructor |
Method Summary | |
---|---|
abstract int |
countGates()
Count number of gates of this block. |
abstract Gate[] |
extractCircuit(Gate[] inputs,
Gate[] outputs)
Extract circuit representation of block. |
abstract void |
program(int[] p)
Program block. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Block(int u, int v, UC c)
u
- #inputsv
- #outputsc
- UC containing this selection blockpublic Block()
Method Detail |
---|
public abstract Gate[] extractCircuit(Gate[] inputs, Gate[] outputs)
inputs
- input wiresoutputs
- buffer for output wires
public abstract void program(int[] p)
p
- program - semantics depend on type of blockpublic abstract int countGates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |