google / skywater-pdk-libs-sky130_fd_pr_reram

SKY130 ReRAM and examples (SkyWater Provided)
https://sky130_fd_pr_reram.rtfd.io
Apache License 2.0
36 stars 12 forks source link

Create a ngspice compatible model which doesn't use Verilog-A #8

Open mithro opened 2 years ago

mithro commented 2 years ago

It would be nice to have a ngspice compatible spice model of the ReRAM cell which doesn't use a Verilog-A file.

RTimothyEdwards commented 2 years ago

Or a version of ngspice that can compile Verilog-A models as plug-ins. I see this as a major drawback of ngspice that is something that is probably very easy to implement by anyone who knows how to do plug-in shared object libraries.

mguthaus commented 2 years ago

I'm not aware of any compact spice models for ReRAM devices. Are there any?

holvo commented 1 year ago

Since ngspice-39 there is now a way to add Verilog-A compact device models into ngspice. Please see https://ngspice.sourceforge.io/osdi.html and chapter 13 of the current ngspice manual.

holvo commented 1 year ago

In addition there are two memristor models available in ngspice (see ngspice\examples\memristor), which might be modified and adapted to ReRAM devices. One is a behavioral model with B sources, the other is an analog (C-coded) XSPICE model.