Skip to content

Commit

Permalink
start rewriting gf180 mosfet pcell
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabSayed-G committed Jan 25, 2023
1 parent 2f6d540 commit 5805c8f
Show file tree
Hide file tree
Showing 6 changed files with 6,922 additions and 6,346 deletions.
148 changes: 74 additions & 74 deletions cells/klayout/pymacros/cells/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,85 +42,85 @@ def __init__(self):
self.layout().register_pcell(
"nfet", nfet()
) # nfet_03v3 , nfet_05v0 , nfet_06v0
self.layout().register_pcell(
"pfet", pfet()
) # pfet_03v3 , pfet_05v0 , pfet_06v0
self.layout().register_pcell("nfet_06v0_nvt", nfet_06v0_nvt())
self.layout().register_pcell("nfet_10v0_asym", nfet_10v0_asym())
self.layout().register_pcell("pfet_10v0_asym", pfet_10v0_asym())
# self.layout().register_pcell(
# "pfet", pfet()
# ) # pfet_03v3 , pfet_05v0 , pfet_06v0
# self.layout().register_pcell("nfet_06v0_nvt", nfet_06v0_nvt())
# self.layout().register_pcell("nfet_10v0_asym", nfet_10v0_asym())
# self.layout().register_pcell("pfet_10v0_asym", pfet_10v0_asym())

# BJT
self.layout().register_pcell(
"npn_bjt", npn_bjt()
) # npn_10p00x10p00 , npn_05p00x05p00 , npn_00p54x16p00 ,
# npn_00p54x08p00 , npn_00p54x04p00 , npn_00p54x02p00
self.layout().register_pcell(
"pnp_bjt", pnp_bjt()
) # pnp_10p00x10p00 , pnp_05p00x05p00 , pnp_10p00x00p42 , pnp_05p00x00p42
# # BJT
# self.layout().register_pcell(
# "npn_bjt", npn_bjt()
# ) # npn_10p00x10p00 , npn_05p00x05p00 , npn_00p54x16p00 ,
# # npn_00p54x08p00 , npn_00p54x04p00 , npn_00p54x02p00
# self.layout().register_pcell(
# "pnp_bjt", pnp_bjt()
# ) # pnp_10p00x10p00 , pnp_05p00x05p00 , pnp_10p00x00p42 , pnp_05p00x00p42

# DIODE DEVICES
self.layout().register_pcell(
"diode_nd2ps", diode_nd2ps()
) # diode_nd2ps_03v3 , diode_nd2ps_06v0
self.layout().register_pcell(
"diode_pd2nw", diode_pd2nw()
) # diode_pd2nw_03v3 , diode_pd2nw_06v0
self.layout().register_pcell(
"diode_nw2ps", diode_nw2ps()
) # diode_nw2ps_03v3 , diode_nw2ps_06v0
self.layout().register_pcell(
"diode_pw2dw", diode_pw2dw()
) # diode_pw2dw_03v3 , diode_pw2dw_06v0
self.layout().register_pcell(
"diode_dw2ps", diode_dw2ps()
) # diode_dw2ps_03v3 , diode_dw2ps_06v0
self.layout().register_pcell("sc_diode", sc_diode())
# # DIODE DEVICES
# self.layout().register_pcell(
# "diode_nd2ps", diode_nd2ps()
# ) # diode_nd2ps_03v3 , diode_nd2ps_06v0
# self.layout().register_pcell(
# "diode_pd2nw", diode_pd2nw()
# ) # diode_pd2nw_03v3 , diode_pd2nw_06v0
# self.layout().register_pcell(
# "diode_nw2ps", diode_nw2ps()
# ) # diode_nw2ps_03v3 , diode_nw2ps_06v0
# self.layout().register_pcell(
# "diode_pw2dw", diode_pw2dw()
# ) # diode_pw2dw_03v3 , diode_pw2dw_06v0
# self.layout().register_pcell(
# "diode_dw2ps", diode_dw2ps()
# ) # diode_dw2ps_03v3 , diode_dw2ps_06v0
# self.layout().register_pcell("sc_diode", sc_diode())

# cap_mos
self.layout().register_pcell(
"cap_nmos", cap_nmos()
) # cap_nmos_03v3 , cap_nmos_06v0
self.layout().register_pcell(
"cap_pmos", cap_pmos()
) # cap_pmos_03v3 , cap_pmos_06v0
self.layout().register_pcell(
"cap_nmos_b", cap_nmos_b()
) # cap_nmos_03v3_b , cap_nmos_06v0_b
self.layout().register_pcell(
"cap_pmos_b", cap_pmos_b()
) # cap_pmos_03v3_b , cap_pmos_06v0_b
# # cap_mos
# self.layout().register_pcell(
# "cap_nmos", cap_nmos()
# ) # cap_nmos_03v3 , cap_nmos_06v0
# self.layout().register_pcell(
# "cap_pmos", cap_pmos()
# ) # cap_pmos_03v3 , cap_pmos_06v0
# self.layout().register_pcell(
# "cap_nmos_b", cap_nmos_b()
# ) # cap_nmos_03v3_b , cap_nmos_06v0_b
# self.layout().register_pcell(
# "cap_pmos_b", cap_pmos_b()
# ) # cap_pmos_03v3_b , cap_pmos_06v0_b

# cap_mim
self.layout().register_pcell(
"cap_mim", cap_mim()
) # cap_mim (Option-A) , cap_mim_tm (Option-B)
# # cap_mim
# self.layout().register_pcell(
# "cap_mim", cap_mim()
# ) # cap_mim (Option-A) , cap_mim_tm (Option-B)

# RES
self.layout().register_pcell(
"metal_resistor", metal_resistor())
self.layout().register_pcell(
"nplus_s_resistor", nplus_s_resistor())
self.layout().register_pcell(
"pplus_s_resistor", pplus_s_resistor())
self.layout().register_pcell(
"nplus_u_resistor", nplus_u_resistor())
self.layout().register_pcell(
"pplus_u_resistor", pplus_u_resistor())
self.layout().register_pcell(
"nwell_resistor", nwell_resistor())
self.layout().register_pcell(
"pwell_resistor", pwell_resistor())
self.layout().register_pcell(
"npolyf_s_resistor", npolyf_s_resistor())
self.layout().register_pcell(
"ppolyf_s_resistor", ppolyf_s_resistor())
self.layout().register_pcell(
"npolyf_u_resistor", npolyf_u_resistor())
self.layout().register_pcell(
"ppolyf_u_resistor", ppolyf_u_resistor())
self.layout().register_pcell(
"ppolyf_u_high_Rs_resistor", ppolyf_u_high_Rs_resistor()
)
# # RES
# self.layout().register_pcell(
# "metal_resistor", metal_resistor())
# self.layout().register_pcell(
# "nplus_s_resistor", nplus_s_resistor())
# self.layout().register_pcell(
# "pplus_s_resistor", pplus_s_resistor())
# self.layout().register_pcell(
# "nplus_u_resistor", nplus_u_resistor())
# self.layout().register_pcell(
# "pplus_u_resistor", pplus_u_resistor())
# self.layout().register_pcell(
# "nwell_resistor", nwell_resistor())
# self.layout().register_pcell(
# "pwell_resistor", pwell_resistor())
# self.layout().register_pcell(
# "npolyf_s_resistor", npolyf_s_resistor())
# self.layout().register_pcell(
# "ppolyf_s_resistor", ppolyf_s_resistor())
# self.layout().register_pcell(
# "npolyf_u_resistor", npolyf_u_resistor())
# self.layout().register_pcell(
# "ppolyf_u_resistor", ppolyf_u_resistor())
# self.layout().register_pcell(
# "ppolyf_u_high_Rs_resistor", ppolyf_u_high_Rs_resistor()
# )

# eFuse
# self.layout().register_pcell(
Expand Down
Binary file not shown.
Loading

0 comments on commit 5805c8f

Please sign in to comment.