From 99c240a1c69da19813c50f167cd51456208479d2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 14 Jul 2026 12:20:20 -0700 Subject: backup before big change --- MIL_testing/simulation.cir | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 MIL_testing/simulation.cir (limited to 'MIL_testing/simulation.cir') diff --git a/MIL_testing/simulation.cir b/MIL_testing/simulation.cir new file mode 100644 index 0000000..8b0701d --- /dev/null +++ b/MIL_testing/simulation.cir @@ -0,0 +1,34 @@ +* simulation.cir +* Testbench for HP Memristor +.options savecurrents +.save all + +.include "hp_memristor.cir" + +* Voltage source +.param Vin = ${VOLTAGE_IN} +.param Vlast = ${VOLTAGE_LAST} +V1 in 0 PULSE(VOLTAGE_LAST VOLTAGE_IN 0 1u 1u 1m 3m) + +* Memristor +XMEM in out memristor ++ Ron=1k ++ Roff=100k ++ Rinit=80k ++ D=10n ++ uv=10f ++ p=1 + +* Load resistor +Rload out 0 1k + +.tran 1u 100m uic + +.control + +run +write simulation.raw +quit + +.endc +.end -- cgit v1.2.3