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.