Skip to content

Commit

Permalink
One fix to the last commit, to correct the order of arguments in
Browse files Browse the repository at this point in the history
the "device" line in the magic tech file for the new special nfet
and pfet devices.  All parameter limit checks must appear before
the parameter declaration (because they are parsed backwards).
Probably magic should be modified to make the argument order
arbitrary.
  • Loading branch information
RTimothyEdwards committed Feb 11, 2024
1 parent 6e5f4ac commit 6d4d117
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sky130/magic/sky130.tech
Original file line number Diff line number Diff line change
Expand Up @@ -6453,18 +6453,18 @@ variants (),(si),(hrhc),(lrhc),(hrlc),(lrlc)
*pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \
a1=as p1=ps a2=ad p2=pd
device msubcircuit sky130_fd_pr__pfet_01v8_hvt pfethvt,scpfethvt \
*pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \
w>=0.42 a1=as p1=ps a2=ad p2=pd
*pdiff,pdiffres *pdiff,pdiffres nwell error w>=0.42 l=l \
w=w a1=as p1=ps a2=ad p2=pd
device msubcircuit sky130_fd_pr__special_pfet_01v8_hvt scpfethvt \
*pdiff,pdiffres *pdiff,pdiffres nwell error l=l w=w \
w<0.42 a1=as p1=ps a2=ad p2=pd
*pdiff,pdiffres *pdiff,pdiffres nwell error w<0.42 l=l \
w=w a1=as p1=ps a2=ad p2=pd

device msubcircuit sky130_fd_pr__nfet_01v8 nfet,scnfet \
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \
w>=0.42 a1=as p1=ps a2=ad p2=pd
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error \
w>=0.42 l=l w=w a1=as p1=ps a2=ad p2=pd
device msubcircuit sky130_fd_pr__special_nfet_01v8 scnfet \
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \
w<0.42 a1=as p1=ps a2=ad p2=pd
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error \
w<0.42 l=l w=w a1=as p1=ps a2=ad p2=pd
device msubcircuit sky130_fd_pr__special_nfet_latch npd \
*ndiff,ndiffres *ndiff,ndiffres pwell,space/w error l=l w=w \
a1=as p1=ps a2=ad p2=pd
Expand Down

0 comments on commit 6d4d117

Please sign in to comment.