hello i am trying to use reram 1.i tried to clon...
# reram
r
hello i am trying to use reram 1.i tried to clone the repository and run install.sh file osdi file has been created further i am confused 2.i install latest version ngspice by enabling osdi anyone can please give the steps to sucessfully install everything and simulate so that i can use reram symbol in xschem Thank you
s
@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.
Attached also the verilogA file .
h
I compile
.osdi
file from
<http://sky130_fd_pr_reram__reram_module.va|sky130_fd_pr_reram__reram_module.va>
with openvaf and in one machine and then transfer the
.osdi
file in to another machine where I have ngspice installed, and followed the steps, but pressing simulation button, it shows thats there is no osdi file available. Could anyone please help.
here,
.out
file, it shows one .raw file is created, but in simulations directory, there is no .
raw
file and also says
osdi
command is not available in ngspice, but i put resultant
osdi
file in ngspice directory. how to fix this?
r
@Hridi Prova Debnath I think check the version of ngspice is it compatible with osdi if not update ngspice and try