Hi Cornel,
It seems we agree. I have used the state machine primitive extensively in LTspice. See my post:
I have tried this in QSPICE and it seems to me that it simply does not exist. Although surprisingly it does not throw any error about the syntax. That does seem strange. One would assume that if .machine is not supported then the parser would throw an error, but it seems not.
I for one can not stress just how important this primitive is to allow me to embrace QSPICE as I have an extensive library of models with the state machine primitive fundamental to their operation.
If the arbitrary state machine primitive where available I could migrate existing models and then modify the core logic towards ‘C’ on a case by case basis and where performance is critical.
I hope we see this supported soon.
Aidan