8 ms·
SPICE can do a lot, but you're asking a LOT. Modelling internal states of a micro is generally a different package than the mainly analog simulation that SPICE
by jimmyswimmy 9y ago
SPICE can do a lot, but you're asking a LOT. Modelling internal states of a micro is generally a different package than the mainly analog simulation that SPICE does. It is rare for them to be tied together.
Practically speaking, your interface ought to be separate enough that you can define the range of states the micro's inputs should see, and the range of outputs it should drive, and separate the two. There are times when I've wished for a combined simulation but it wasn't worth the hassle to set it up. Honestly for the accuracy I expect I usually prefer to just build the thing rather than simulate it.
LEDs are really boring to model anyway.
- madez 9y agoI also think that I ask for a lot. And I know that simulation is hard, error-prone, and often more expensive than just buillding the real system. However, building the system does not always give the insight that a simulation can give, and it's sometimes prohibitively expensive. More specifically, I already had built the system, but I couldn't get the information out of it without disturbing it too much. That's why I wanted to simulate it.