The issue is line 13 of the xschem netlist. The ReRAM device has been given a resistance of zero, which netgen interprets as a "fake" device that is being used to separate nets. So netgen is removing it. Try giving the device a non-zero value and it should work.
Tim Edwards
05/29/2022, 5:14 PM
Or you can remove the ReRAM subcircuit definition from the schematic netlist completely and let netgen compare the ReRAM circuits as black boxes.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.