Has anyone been able to successfully extract reram...
# reram
j
Has anyone been able to successfully extract reram devices in magic for LVS purposes? I'm on magic 8.3.315 and magic treats the device as a via so TE and BE are shorted. Maybe this is a pdk version issue?
s
I tried to do a quick fix by editing the reram xschem symbol and the netgen lvs tcl script to get lvs clean design. Turns out the
sky130B_setup.tcl
file at
sky130B/libs.tech/netgen/
does not have a section for reram devices and so lvs fails to recognise the reram. I copied some lines from a generic resistor section, and basically have the reram section say that the two terminals of reram are permutable, and to ignore the
area_ox
property. I also edited the reram xschem symbol,
reram.sym
at
sky130B/libs.tech/xschem/sky130_fd_pr/
, mainly changing the format (line 20) and device_model (line 25). I added a spice prefix and changed model name property to
sky130_fd_pr__@model
in the format. This helps in LVS as both the extracted netlists have the same model name and a prefix included. Please note that I did not simulate the rerams in xyce, so not sure how changing the device model property in xschem symbol affects that. I attached the files I used here. This is likely not a formal fix. You may also have to update magic to the latest version as well.
j
Thanks so much for the detailed response. I'll try this out!
m
Please be aware that older versions of
$PDK_ROOT/sky130B/libs.tech/magic/sky130B.tech
may not stream out the ReRAM layer correctly. Check your final GDS to be sure the ReRAM layer is still there.
j
thanks, I am updating now I think my sky130B version was just too old
ok thanks updating worked!