Removed the name from ptx class. Ptx name is uniquely constructed based on the ptx parameters of type, width, and mult. This allows reuse of ptx among multiple modules.

This commit is contained in:
Matt Guthaus
2017-04-26 14:33:03 -07:00
parent 1e8743f5a5
commit cffcd46f6d
13 changed files with 39 additions and 66 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ class ptx_test(unittest.TestCase):
import tech
debug.info(2, "Checking min size NMOS with 1 finger")
fet = ptx.ptx(name="nmos_1_finger",
width=tech.drc["minwidth_tx"],
fet = ptx.ptx(width=tech.drc["minwidth_tx"],
mults=1,
tx_type="nmos")
# return it back to it's normal state
+1 -2
View File
@@ -25,8 +25,7 @@ class ptx_test(unittest.TestCase):
import tech
debug.info(2, "Checking min size PMOS with 1 finger")
fet = ptx.ptx(name="pmos_1_finger",
width=tech.drc["minwidth_tx"],
fet = ptx.ptx(width=tech.drc["minwidth_tx"],
mults=1,
tx_type="pmos")
# return it back to it's normal state
+1 -2
View File
@@ -25,8 +25,7 @@ class ptx_test(unittest.TestCase):
import tech
debug.info(2, "Checking three fingers NMOS")
fet = ptx.ptx(name="nmos_3_fingers",
width=tech.drc["minwidth_tx"],
fet = ptx.ptx(width=tech.drc["minwidth_tx"],
mults=3,
tx_type="nmos")
# return it back to it's normal state
+1 -2
View File
@@ -25,8 +25,7 @@ class ptx_test(unittest.TestCase):
import tech
debug.info(2, "Checking three fingers PMOS")
fet = ptx.ptx(name="pmos_3_fingers",
width=tech.drc["minwidth_tx"],
fet = ptx.ptx(width=tech.drc["minwidth_tx"],
mults=3,
tx_type="pmos")
# return it back to it's normal state