<@U016EM8L91B> hello I am trying to do lvs this er...
# reram
r
@Tim Edwards hello I am trying to do lvs this error pops up for a second for that I had to screen record and snap the error could you please suggest how to fix the error for reram
t
It looks fine to me except that netgen doesn't recognize the
N
device used for the ReRAM. Although it may not matter because the device should be compared at the subcircuit
sky130_fd_pr_reram__reram_cell
. Netgen ran, though. Did you look at the output file?
r
@Tim Edwards output file is blank
@Tim Edwards"I have identified the error which was caused by outdated magic. However, I am now facing a device mismatch issue. I am using a 5V transistor, but the layout seems to be configured for 3V. Do you know if there is any documentation available for the 5V transistor layout?"
@Mitch Bailey Hello I am trying to put the layout as nfet_g5v0d10v5 but it recognize as nfet_3v nvt could you suggest to resolve the issue So could you suggest me to resolve the issue
t
How did you generate the device? There are specific differences between the
nfet_03v3_nvt
and
nfet_g5v0d10v5
. The device (poly + diffusion) must be coincident with NSDM, HVI, LVTN, and LVID (3.3V native-Vt FET marking ID). The presence of the special marking ID layer makes it rather difficult to confuse the two devices.
m
@Rafeeq Khan Mohammed Can you at least share 1T1R_2x2.spice, sch_1T1R_2x2.spice, and the command you are using to run netgen?
r
@Mitch Bailey i am using the command as .netgen .lvs 1T1R_2x2.spice sch_1T1R_2x2.spice
@Tim Edwards i am not sure that my design is coincident or not i will look over that Thank you so much for the iformation
m
Thanks! I’ll get back with you later today.
r
Thank you okay
@Tim Edwards i tried import spice file in magic but reram has not generated
t
I don't have a device generator for ReRAM in the sky130B.tcl device generator script. I assume there is only one device per core cell. You can just pull it into the layout manually; e.g.,
getcell $PDK_ROOT/sky130B/libs.ref/sky130_fd_pr_reram/mag/sky130_fd_pr_reram__reram_cell
(I noticed this can't be reached from the "Library Manager" window; clearly I'm a bit behind in integrating the ReRAM devices into the PDK for magic.)
m
@Rafeeq Khan Mohammed I don’t know if it’s a major problem or not, but I suggest adding top level ports to the layout. Also when you create the schematic netlist, be sure to check
Simulation
->
LVS
->
LVS netlist: top level is subckt
r
@Tim Edwards thank you for the information
@Mitch Bailey thank you
👍 1
@Tim Edwards hello could you please say what kind of labels should be use i think labels are making confusion beteen 3 and 5 v devices not able to generate the 5v device in spice
m
@Rafeeq Khan Mohammed I think you mean “layers” and not “labels”. The layers are what determines whether a device is 1.8V, 3V or 5V. The difference in layers between
nfet_03v3_nvt
and
nfet_g5v0d10v5
is layer 81/60 (
nfet_03v3_nvt
should have it and
nfet_g5v0d10v5
should not), but you won’t see this in magic. In magic, the 3.3V devices should be drawn on
nntransistor
and the 5V devices on
mvnntransistor
.
r
@Mitch Bailey Thank you so much for to make the 3v nntransistor needs to be paint on poly am i correct for 5v same as 3v except paint on poly as nntransistor for 5v mvnntransistor will automatically make layer on poly right?
m
To create an
nfet_03v3_nvt
, you can paint
poly
over
mvndiffusion
and then paint
nntransistor
over the resulting
mvntransistor
. To create an
nfet_g5v0d10v5
, you can paint
poly
over
mvndiffusion
and then paint
mvnntransistor
over the resulting
mvntransistor
. I think you need 2 steps for either one.
r
@Mitch Bailey Thank you so much
👍 1