vikramts 
		
		Junior Member 
		  
		Offline
		 
		
		Posts: 17
		
		
		
		  
	 | 
	
		
		 
			Hi Andrew
  I did make a mistake typing the code statements there. The following is what I wanted to try(and eventually did) using Cadence-AMS simulator.
  vsource #(.type("sine"),.freq(5000),.ampl(5),.dc(0)) vin1(vinp,vss); vsource #(.type("dc"),.ampl(2.5),.dc(0)) vin2(vinm,vss); vsource #(.type("dc"),.ampl(5),.dc(0)) vin3(vdd,vss);
  Now I can see the sinewave for vin1(when I check the signals at the 3 points), but I cannot see a dc signal for the other 2 voltage sources.
  vinp and vinm are the voltages at the +ve and -ve terminals of an op-amp which has vdd and vss connections.
  Could you tell me what could be the problem?
  Thanks ! 
		 
	 |