Abstract: A mixed-mode simulator for simulating a circuit containing an event-driven device with a plurality of pins. The mixed-mode simulator has a circuit simulator for simulating at least an analog portion of the circuit. The circuit simulator has a user-defined device modeling feature. The mixed-mode simulator has an event-driven device simulator and an interface between the circuit simulator and the event-driven device simulator. The interface has a parameter passing portion for receiving values from and returning values to the circuit simulator through the user-defined device modeling feature. The interface has a timing portion for instructing the event-driven simulator to run a simulation of the device based on the values for a given time period. The interface has a response reading portion for reading values of the pins at the end of the time period. Values are returned to the circuit simulator through the parameter passing portion and the user-defined modeling feature.