You can write SPICE program in any text editor locate this file in your specific directory. Then simple run the SPICE simulator (Spectre) in command prompt so that you can view the wave form output.
create a new cellview (netlist), and paste the spice model as a subcircuit (very important step). Then create the symbol, cadence will recognize the number of input/outputs based on the subcircuit.