@Rafeeq Khan Mohammed you need to:
• download
openvaf
• execute
openvaf <http://sky130_fd_pr_reram__reram_module.va|sky130_fd_pr_reram__reram_module.va>
• put the resulting
sky130_fd_pr_reram__reram_module.osdi
file into
....../share/pdk/sky130B/libs.tech/ngspice
• then create an empty directory
• put the
....../share/pdk/sky130B/libs.tech/xschem/xschemrc
file into it.
• Open a terminal in this directory
• In the terminal type:
export PDK=sky130B
• run xschem:
xschem sky130_tests/tb_reram.sch
• Press
Netlist
button
• Press
Simulate
button
• Go to menu button
Waves ->Tran
to load the waveforms
The
tb_reram.sch
is a testbench that uses the reram cell. You can see how the reram is used so you can draw your own circuits.