RTimothyEdwards / magic

Magic VLSI Layout Tool
Other
498 stars 103 forks source link

Devices from array not imported #297

Closed EpSilicon closed 7 months ago

EpSilicon commented 8 months ago

Hello, Transistor arrays, taken from a netlist created in Xschem, are not imported into Magic (XM6). Thansk and regards, Erwann

Magic version: 8.3.466 Xschem version: v3.4.5 SKY130 from open_pdks: 1.0.470 (Installed with Volare)

* sch_path: /home/erwann/design_worksapce/sky130A/HelloWorld/xschem/opamp.sch .subckt opamp vdd out inp inn ibiasn vss .PININFO inn:I inp:I vdd:B vss:B ibiasn:B out:O XM1 pbias inn tail vss sky130_fd_prnfet_01v8 L=1 W=40 nf=1 m=1 XM2 outz inp tail vss sky130_fd_pr__nfet_01v8 L=1 W=40 nf=1 m=1 XM3 pbias pbias vdd vdd sky130_fd_prpfet_01v8 L=0.5 W=20 nf=1 m=1 XM4 outz pbias vdd vdd sky130_fd_prpfet_01v8 L=0.5 W=20 nf=1 m=1 XM5 out outz vdd vdd sky130_fd_pr__pfet_01v8 L=0.5 W=20 nf=1 m=1 XM6[1] tail ibiasn vss vss sky130_fd_prnfet_01v8 L=1 W=40 nf=1 m=1 XM6[0] tail ibiasn vss vss sky130_fd_prnfet_01v8 L=1 W=40 nf=1 m=1 XM7 out ibiasn vss vss sky130_fd_pr__nfet_01v8 L=1 W=40 nf=1 m=1 XM8 ibiasn ibiasn vss vss sky130_fd_prnfet_01v8 L=1 W=40 nf=1 m=1 .ends .end

RTimothyEdwards commented 8 months ago

The brackets are probably causing an issue. There may be an option in xschem to avoid putting brackets in the netlist output, or you can remove them manually, as a workaround. I will fix it when I get the chance. If I don't respond within a couple of weeks, please send me a reminder.

RTimothyEdwards commented 7 months ago

@EpSilicon : Yes, it was the brackets. I have fixed the problem in magic version 8.3.467.

EpSilicon commented 7 months ago

I can confirm that it works, thank you!

RTimothyEdwards commented 7 months ago

Good to know. Closing this issue.