A novel method for performing SPICE-like circuit simulations on a FPGA is presented. An RC filter and an NMOS transistor have been simulated as demonstration examples. The technique utilizes a digital signal-processing object (SPO) that is analogous to an analog operational amplifier. An array of SPOs solves nonlinear difference equations in the same way that an array of opamps solves nonlinear differential equations. The SPO is first designed in Simulink and then emulated in the Xilinx System Generator. This model is then programmed onto an FPGA, Spartan-3, e.g. The simulation is virtually identical to a standard SPICE simulation, but simulation speed is increased by more than an order of magnitude.