Art Scott
02/15/2024, 2:33 PMtb_reram.sch
schematic.
The XR1
symbol is a subcircuit. The subcircuit instantiates the 'N... element that is a verilog-A primitive.
This element calls a model that sets some parameter values and binds to a verilog-A module:
• XR1
--> subcircuit sky130_fd_pr_reram__reram_cell
• subcircuit sky130_fd_pr_reram__reram_cell
--> instantiates the '`N`' line with sky130_fd_pr_reram__reram_model
model.
• The sky130_fd_pr_reram__reram_model
model sets some parameter values and binds to the sky130_fd_pr_reram__reram_module
Verilog-A code.
• The sky130_fd_pr_reram__reram_module
code placed in a <http://sky130_fd_pr_reram__reram_module.va|sky130_fd_pr_reram__reram_module.va>
file is compiled with openvaf
and the generated .osdi file is placed in a place known by ngspice.
• In the netlist there is a pre_osdi
/path/to/sky130_fd_pr_reram__reram_module.osdi
that allows ngspice to link in the compiled module.
Thread in Slack Conversation