From 250f5bcc580c0eec6572a0cf10d214a9a1b97950 Mon Sep 17 00:00:00 2001 From: Michele Date: Fri, 4 Mar 2022 19:02:12 +0100 Subject: [PATCH] Added A_2C2P_RB_X1 because the encoder needs it --- dataflow_neuro/cell_lib_async.act | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dataflow_neuro/cell_lib_async.act b/dataflow_neuro/cell_lib_async.act index 21332ed..8921da2 100644 --- a/dataflow_neuro/cell_lib_async.act +++ b/dataflow_neuro/cell_lib_async.act @@ -536,6 +536,20 @@ namespace tmpl { prs{ [keeper=0] ~a -> y+ } + } + + def A_2C2P_RB_X1(bool! y;bool? c1,c2,p1,p2,reset_B,vdd,vss){ + bool _y; + prs{ + (~p1 & ~p2 & ~c1 & ~c2)|~reset_B -> _y+ + (c1 & c2 & reset_B) -> _y- + _y => y- + } + sizing {leak_adjust <- 1; + p_n_mode <- 1; + y {-1}; _y{-1} } + + } }}