all codes related to spice netlist operation