“…After simulation of the basic modules in SPICE, the memristor was implemented using VTEAM-based Verilog-A codes. VTEAM is a general and accurate enough model that matches the target technology for practical memristive devices and circuits [12][13][14]. The memristor used has the following metrics: Model = 4, Window type = 0, 𝑅 𝑜𝑛 = 50Ω, dt = 1e-10, 𝑅 𝑜𝑓𝑓 = 10kΩ, 𝐾 𝑜𝑛 = -30 m/s, 𝐾 𝑜𝑓𝑓 = 50 m/s, 𝛼 𝑜𝑛 = 3, 𝛼 𝑜𝑓𝑓 = 1, 𝑉 𝑜𝑛 = -0.2V, 𝑉 𝑜𝑓𝑓 = 0.02V, where 𝑅 𝑜𝑛 , 𝑅 𝑜𝑓𝑓 , 𝐾 𝑜𝑛 , 𝐾 𝑜𝑓𝑓 , and 𝛼 𝑜𝑛 are the fitting parameters and 𝑉 𝑜𝑛 and 𝑉 𝑜𝑓𝑓 are SET and RESET voltage threshold.…”