# Defining input voltages to OTA amplifier.

Status
Not open for further replies.

#### wakimINKO

##### Newbie level 1
Hi everyone

I'm doing a analog integrated course and I have to simulate an OTA using HSPICE. I find going through the manual rather cumbersome and there is no examples for the decks I have had to simulate in the past; mostly simple stuff like single stage amplifiers.

For the case of the OTA, the two inputs must be 180deg out of phase (differential input) I came up with this code but it gives me an error and I don't know what else to try.

vgs ac 1

vin vgs 0
vip 0 vgs

#### erikl

##### Super Moderator
Staff member
If vip, vin are your input nodes, try:

Code:
vdiff  vip vin   ac 1

Status
Not open for further replies.