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
Shubham Kumar
12/08/2024, 2:47 PM
It will be helpful if someone explains this... so that we can follow what is being done...
h
Harsh Khandeparkar
12/08/2024, 3:47 PM
The dummy multiplier and the main transistor multiplier are set by two different parameters
Harsh Khandeparkar
12/08/2024, 3:48 PM
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.
Harsh Khandeparkar
12/08/2024, 3:49 PM
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
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.