Subham Pal
12/08/2024, 2:39 PMShubham Kumar
12/08/2024, 2:43 PM'mult': mtop / 2
why is it done ?
https://github.com/idea-fasoc/OpenFASOC/blob/main/openfasoc/generators/glayout/glayout/flow/primitives/fet.pyShubham Kumar
12/08/2024, 2:46 PMm
.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 PMHarsh Khandeparkar
12/08/2024, 3:47 PMHarsh Khandeparkar
12/08/2024, 3:48 PMm=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 PMmtop / 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.