Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spice reader: M factor not applied to MOSFET devices (W parameter) #652

Closed
klayoutmatthias opened this issue Oct 8, 2020 · 1 comment
Closed
Assignees
Labels

Comments

@klayoutmatthias
Copy link
Collaborator

The M factor shall be applied to W parameter of transistors ("M" devices).

e.g. MMIN0 eff W is 4 times 0.74 in this example:

.SUBCKT sky130_fd_sc_hs__and2_4 A B VGND VNB VPWR VPB X
*.PININFO A:I B:I VGND:I VNB:I VPB:I VPWR:I X:O
MMP0 y A VPWR VPB pfet_01v8 m=2 w=0.84 l=0.15
MMP1 y B VPWR VPB pfet_01v8 m=2 w=0.84 l=0.15
MMIP0 X y VPWR VPB pfet_01v8 m=4 w=1.12 l=0.15
MMN0 y A sndA VNB nfet_01v8_lvt m=2 w=0.64 l=0.15
MMN1 sndA B VGND VNB nfet_01v8_lvt m=2 w=0.64 l=0.15
MMIN0 X y VGND VNB nfet_01v8_lvt m=4 w=0.74 l=0.15
.ENDS sky130_fd_sc_hs__and2_4
@klayoutmatthias
Copy link
Collaborator Author

PR #653 will fix this issue.

klayoutmatthias added a commit that referenced this issue Oct 10, 2020
#653)

* Fixed #652 (M scaling not working sometimes for Spice), provided testcases

* One more patch (bugfix, Spice reader)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant