Merge branch 'dev' of ssh://git.web.rug.nl:222/bics/actlib_dataflow_neuro into dev
This commit is contained in:
commit
9d864117d4
|
@ -252,12 +252,12 @@ namespace tmpl {
|
|||
y {-1}}
|
||||
}
|
||||
|
||||
export defcell A_2C2N2N_RB_X1 (bool ! y; bool? c1, c2, n1, n2, n3, n4, pr_B, sr_B; bool vdd, vss)
|
||||
export defcell A_2C2N2N_RB_X1 (bool ! y; bool? c1, c2, na1, na2, nb1, nb2, pr_B, sr_B; bool vdd, vss)
|
||||
{
|
||||
bool _y;
|
||||
prs{
|
||||
(~c1 & ~c2) | ~pr_B -> _y+
|
||||
c1 & c2 & ((n1 & n2) | (n3 & n4)) & sr_B -> _y-
|
||||
c1 & c2 & ((na1 & na2) | (nb1 & nb2)) & sr_B -> _y-
|
||||
_y => y-
|
||||
}
|
||||
sizing {
|
||||
|
|
|
@ -608,10 +608,10 @@ namespace tmpl {
|
|||
(i:N:
|
||||
merge_func_t[i].c1 = _en_X[i];
|
||||
merge_func_t[i].c2 = _out_a_BX[i];
|
||||
merge_func_t[i].n1 = _in1_arb_X[i];
|
||||
merge_func_t[i].n2 = in1.d.d[i].t;
|
||||
merge_func_t[i].n3 = _in2_arb_X[i];
|
||||
merge_func_t[i].n4 = in2.d.d[i].t;
|
||||
merge_func_t[i].na1 = _in1_arb_X[i];
|
||||
merge_func_t[i].na2 = in1.d.d[i].t;
|
||||
merge_func_t[i].nb1 = _in2_arb_X[i];
|
||||
merge_func_t[i].nb2 = in2.d.d[i].t;
|
||||
merge_func_t[i].y = out.d.d[i].t;
|
||||
merge_func_t[i].vdd=supply.vdd;
|
||||
merge_func_t[i].vss=supply.vss;
|
||||
|
@ -620,10 +620,10 @@ namespace tmpl {
|
|||
|
||||
merge_func_f[i].c1 = _en_X[i+N];
|
||||
merge_func_f[i].c2 = _out_a_BX[i+N];
|
||||
merge_func_f[i].n1 = _in1_arb_X[i+N];
|
||||
merge_func_f[i].n2 = in1.d.d[i].f;
|
||||
merge_func_f[i].n3 = _in2_arb_X[i+N];
|
||||
merge_func_f[i].n4 = in2.d.d[i].f;
|
||||
merge_func_f[i].na1 = _in1_arb_X[i+N];
|
||||
merge_func_f[i].na2 = in1.d.d[i].f;
|
||||
merge_func_f[i].nb1 = _in2_arb_X[i+N];
|
||||
merge_func_f[i].nb2 = in2.d.d[i].f;
|
||||
merge_func_f[i].y = out.d.d[i].f;
|
||||
merge_func_f[i].vdd=supply.vdd;
|
||||
merge_func_f[i].vss=supply.vss;
|
||||
|
|
Loading…
Reference in New Issue