From 3496ac8f5a290639054961508202d069ba7dc7c4 Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Tue, 21 Feb 2023 13:23:29 -0800 Subject: [PATCH] Added buffer to sense_amp output (need to resize) --- technology/freepdk45/sp_lib/sense_amp.sp | 15 ++++++++++----- technology/scn4m_subm/sp_lib/sense_amp.sp | 14 +++++++++----- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/technology/freepdk45/sp_lib/sense_amp.sp b/technology/freepdk45/sp_lib/sense_amp.sp index b5778306..21cdf1e5 100644 --- a/technology/freepdk45/sp_lib/sense_amp.sp +++ b/technology/freepdk45/sp_lib/sense_amp.sp @@ -1,11 +1,16 @@ .SUBCKT sense_amp bl br dout en vdd gnd -M_1 dout net_1 vdd vdd pmos_vtg w=540.0n l=50.0n -M_3 net_1 dout vdd vdd pmos_vtg w=540.0n l=50.0n -M_2 dout net_1 net_2 gnd nmos_vtg w=270.0n l=50.0n -M_8 net_1 dout net_2 gnd nmos_vtg w=270.0n l=50.0n -M_5 bl en dout vdd pmos_vtg w=720.0n l=50.0n +M_1 dint net_1 vdd vdd pmos_vtg w=540.0n l=50.0n +M_3 net_1 dint vdd vdd pmos_vtg w=540.0n l=50.0n +M_2 dint net_1 net_2 gnd nmos_vtg w=270.0n l=50.0n +M_8 net_1 dint net_2 gnd nmos_vtg w=270.0n l=50.0n +M_5 bl en dint vdd pmos_vtg w=720.0n l=50.0n M_6 br en net_1 vdd pmos_vtg w=720.0n l=50.0n M_7 net_2 en gnd gnd nmos_vtg w=270.0n l=50.0n + +M_8 dout_bar dint vdd vdd pmos_vtg w=720.0n l=50.0n +M_9 dout_bar dint gnd gnd nmos_vtg w=270.0n l=50.0n +M_10 dout dout_bar vdd vdd pmos_vtg w=720.0n l=50.0n +M_11 dout dout_bar gnd gnd nmos_vtg w=270.0n l=50.0n .ENDS sense_amp diff --git a/technology/scn4m_subm/sp_lib/sense_amp.sp b/technology/scn4m_subm/sp_lib/sense_amp.sp index 70622413..b3496b03 100644 --- a/technology/scn4m_subm/sp_lib/sense_amp.sp +++ b/technology/scn4m_subm/sp_lib/sense_amp.sp @@ -5,11 +5,15 @@ * SPICE3 file created from sense_amp.ext - technology: scmos M1000 gnd en a_56_432# gnd n w=1.8u l=0.4u -M1001 a_56_432# a_48_304# dout gnd n w=1.8u l=0.4u -M1002 a_48_304# dout a_56_432# gnd n w=1.8u l=0.4u -M1003 vdd a_48_304# dout vdd p w=3.6u l=0.4u -M1004 a_48_304# dout vdd vdd p w=3.6u l=0.4u -M1005 bl en dout vdd p w=4.8u l=0.4u +M1001 a_56_432# a_48_304# dint gnd n w=1.8u l=0.4u +M1002 a_48_304# dint a_56_432# gnd n w=1.8u l=0.4u +M1003 vdd a_48_304# dint vdd p w=3.6u l=0.4u +M1004 a_48_304# dint vdd vdd p w=3.6u l=0.4u +M1005 bl en dint vdd p w=4.8u l=0.4u M1006 a_48_304# en br vdd p w=4.8u l=0.4u +M1007 dout_bar dint vdd vdd p w=3.6u l=0.4u +M1008 gnd dint dout_bar gnd n w=1.8u l=0.4u +M1009 dout dout_bar vdd vdd p w=3.6u l=0.4u +M1010 gnd dout_bar dout gnd n w=1.8u l=0.4u .ENDS