From a41123162838fd77ea404159b16110113eefeca5 Mon Sep 17 00:00:00 2001 From: alexmadison Date: Mon, 7 Mar 2022 16:21:45 +0100 Subject: [PATCH] added some supplies --- dataflow_neuro/primitives.act | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataflow_neuro/primitives.act b/dataflow_neuro/primitives.act index fdcb11d..e28272d 100644 --- a/dataflow_neuro/primitives.act +++ b/dataflow_neuro/primitives.act @@ -127,7 +127,7 @@ namespace tmpl { A_2C1N_RB_X4 t_buf_func[N]; sigbuf en_buf_t(.in=_en, .out=_en_X_t, .supply=supply); sigbuf en_buf_f(.in=_en, .out=_en_X_f, .supply=supply); - INV_X1 out_a_inv(.a=out.a,.y=_out_a_B); + INV_X1 out_a_inv(.a=out.a,.y=_out_a_B, .vss = supply.vss, .vdd = supply.vdd); sigbuf out_a_B_buf_f(.in=_out_a_B,.out=_out_a_BX_t); sigbuf out_a_B_buf_t(.in=_out_a_B,.out=_out_a_BX_f); // check if you can also do single var to array connect a=b[N] @@ -204,7 +204,7 @@ namespace tmpl { A_2C2N_RB_X4 t_buf_func[N]; sigbuf en_buf_t(.in=_en, .out=_en_X_t, .supply=supply); sigbuf en_buf_f(.in=_en, .out=_en_X_f, .supply=supply); - INV_X1 out_a_inv(.a=out.a,.y=_out_a_B); + INV_X1 out_a_inv(.a=out.a,.y=_out_a_B, .vss = supply.vss, .vdd = supply.vdd); sigbuf out_a_B_buf_f(.in=_out_a_B,.out=_out_a_BX_t, .supply=supply); sigbuf out_a_B_buf_t(.in=_out_a_B,.out=_out_a_BX_f, .supply=supply); // check if you can also do single var to array connect a=b[N]