before the git gets fucked
This commit is contained in:
@@ -25,17 +25,29 @@
|
||||
*
|
||||
**************************************************************************
|
||||
*/
|
||||
|
||||
import "../../dataflow_neuro/treegates.act";
|
||||
import "../../dataflow_neuro/coders.act";
|
||||
import globals;
|
||||
|
||||
open tmpl::dataflow_neuro;
|
||||
|
||||
defproc arbtree_5 (bool? in[5]; bool! out){
|
||||
arbtree<5> at(.in=in, .out=out);
|
||||
at.supply.vss = GND;
|
||||
at.supply.vdd = Vdd;
|
||||
|
||||
defproc arbtree (a1of1 in[5]; a1of1 out)
|
||||
{
|
||||
a1of1 _in[5];
|
||||
power _supply
|
||||
_supply.vdd = Vdd;
|
||||
_supply.vss = GND;
|
||||
fifo_t<2> fifo_to_tree[5];
|
||||
(i:5:
|
||||
fifo_to_tree[i].in = in[i];
|
||||
fifo_to_tree[i].out = _in[i];
|
||||
fifo_to_tree.supply = _supply;
|
||||
fifo_to_tree.reset_B = _reset_B;
|
||||
)
|
||||
arbtree<5> at(.in=_in, .out = out);
|
||||
//Low active Reset
|
||||
bool _reset_B;
|
||||
prs {
|
||||
Reset => _reset_B-
|
||||
}
|
||||
at.supply = _supply;
|
||||
|
||||
}
|
||||
|
||||
arbtree_5 t;
|
||||
arbtree t;
|
||||
|
||||
Reference in New Issue
Block a user