One thing is really confusing me. You can see her...
# ieee-sscs-dc-24
s
One thing is really confusing me. You can see here that for the NMOS it shows m=4. But when the same nmos is there under Diffpair as X0 or X1 , it shows 2. This is the diff_pair block from glayout. @Harsh Khandeparkar @mehdi
Also, the netlist which gets generated for fets... the dummy and main has different
m
Copy code
.subckt NMOS D G S B l=2.0 w=4.15 m=2 dm=1 
XMAIN   D G S B sky130_fd_pr__nfet_01v8 l={l} w={w} m={m}
XDUMMY1 B B B B sky130_fd_pr__nfet_01v8 l={l} w={w} m={dm}
XDUMMY2 B B B B sky130_fd_pr__nfet_01v8 l={l} w={w} m={dm}
.ends NMOS
It will be helpful if someone explains this... so that we can follow what is being done...
h
The dummy multiplier and the main transistor multiplier are set by two different parameters
To answer @Subham Pal's question, the the NMOS subckt definition has
m=4
which is its default value. When it is initialized inside the differential pair, the multiplier is set to
m=2
since that's the multiplier for the diff pair.
This has nothing to do with
mtop / 2
which is how the multiplier parameter of the diffpair is defined. It is defined as the total multiplier of both the transistors in the pair, and hence the
m
for each transistor is half of it.
👍 2