renamed var in vtree for consciences
This commit is contained in:
parent
c580d21efe
commit
e52ec9ed61
@ -380,16 +380,16 @@ defproc vtree (std::data::Mx1of2?<N> in; bool! out; power supply)
|
|||||||
{
|
{
|
||||||
// OR layer for making OR between true and false of in (they are then sent to Ctree)
|
// OR layer for making OR between true and false of in (they are then sent to Ctree)
|
||||||
OR2_X1 OR2_tf[N];
|
OR2_X1 OR2_tf[N];
|
||||||
ctree<N> myctree;
|
ctree<N> ct;
|
||||||
(l:N:
|
(l:N:
|
||||||
OR2_tf[l].a = in.d[l].t;
|
OR2_tf[l].a = in.d[l].t;
|
||||||
OR2_tf[l].b = in.d[l].f;
|
OR2_tf[l].b = in.d[l].f;
|
||||||
OR2_tf[l].y = myctree.in[l];
|
OR2_tf[l].y = ct.in[l];
|
||||||
OR2_tf[l].vdd = supply.vdd;
|
OR2_tf[l].vdd = supply.vdd;
|
||||||
OR2_tf[l].vss = supply.vss;
|
OR2_tf[l].vss = supply.vss;
|
||||||
)
|
)
|
||||||
myctree.supply = supply;
|
ct.supply = supply;
|
||||||
out = myctree.out;
|
out = ct.out;
|
||||||
}
|
}
|
||||||
export template<pint N>
|
export template<pint N>
|
||||||
defproc sigbuf (bool? in; bool! out[N]; power supply)
|
defproc sigbuf (bool? in; bool! out[N]; power supply)
|
||||||
|
Loading…
Reference in New Issue
Block a user