Code? What code?
Draw your circuit or enter your netlist, and apply a properly
scaled current pulse to whichever transistor you like (or all).
You can do this all from within Gateway (schematic driven)
or from a netlist sourced into SmartSpice.
The SmartSpice RadHard version is not commonly distributed
and you may not have the SEE features unless you got it from
Silvaco explicitly. But you can perform the task, "old school",
in any SPICE out there.
Maybe your RC RAM cell is supposed to emulate a DRAM.