Andrew Beckett
Senior Fellow
![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif)
Offline
![](https://designers-guide.org/forum/avatars/elmerfudd.gif)
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
I don't think this can be done in spectre directly, but since you can save both components and do the subtraction in the post processing tools, it's not really needed.
You could of course do it in spectre using a vcvs between the two inputs, and then outputting the output of the vcvs (with the output side referred to ground):
diff (vdiff 0 vop vin) vcvs gain=1
Regards,
Andrew.
|