The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 29th, 2024, 5:22pm
Pages: 1
Send Topic Print
Problem simulating with AMS Simvision (Read 8382 times)
mtp3
Junior Member
**
Offline



Posts: 20

Problem simulating with AMS Simvision
May 07th, 2012, 11:11am
 
Hi!

I am new to AMS and all so excuse if my question is very basic. I am trying to simulate 2 inverter connected in a chain with the first inverter made from actual PMOS/NMOS transistors and the second is a functional description of a not gate with the code being

module inv(x,y)
input x;
output y;

not(y,x)
end module.

Now I have setup the connection files as described in the link below for 1.2V. The only thing I change is the  Vsup=1.2, Vthi=0.666, Vtlo=0.333, Vlow=0.

Now the issue I am facing is that the output of the second inverter (the one with functional description) is not what I would expect it to be. I have attached the figure below. The top waveform is the input pulse, the second wave is the output of the schematic level inverter and the last one is the output of the inverter with the functional description. Please guide me if I am doing something wrong or is there a setting that needs to be changed.

http://www.designers-guide.org/Forum/YaBB.pl?num=1249327323
Back to top
 

ef39729d3158ff03eb8b0b4f183daf5c_eps_001.jpg
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Problem simulating with AMS Simvision
Reply #1 - May 8th, 2012, 2:32am
 
mtp3,
you seem to use sample&hold for the digital signal.

- B O E
Back to top
 
 
View Profile   IP Logged
mtp3
Junior Member
**
Offline



Posts: 20

Re: Problem simulating with AMS Simvision
Reply #2 - May 8th, 2012, 2:53am
 
Thanks for the reply boe,

I also thought so, but since I have not specified any thing the block description or the schematic I am confused what is causing it.

Could it be something that occurs due to the connect files?

Secondly I noticed in the connect file the Tr is 0.2ns do you think that might be the issue?
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Problem simulating with AMS Simvision
Reply #3 - May 8th, 2012, 3:42am
 
mtp3,

it is default behavior of the wave viewer for digital domain signals.

- B O E
Back to top
 
 
View Profile   IP Logged
mtp3
Junior Member
**
Offline



Posts: 20

Re: Problem simulating with AMS Simvision
Reply #4 - May 8th, 2012, 4:22am
 
hmmmmm but I am confused in the tutorials that are available with AMS they appear to ideal like the first two forms.

Is there a setting to change this view or something or will I have to live with it?
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Problem simulating with AMS Simvision
Reply #5 - May 8th, 2012, 5:46am
 
mtp3,

Format->Trace in SimVision Waveform Viewer.

- B O E
Back to top
 
 
View Profile   IP Logged
mtp3
Junior Member
**
Offline



Posts: 20

Re: Problem simulating with AMS Simvision
Reply #6 - May 8th, 2012, 8:02am
 
Many thanks for the reply boe you are a life saver  :). I just noticed that we can plot the same data in the ade window using direct plot but that would be the same as setting the trace to Analog/Linear, right?

My last question(hopefully) if I were doing a mixed signal simulation what Trace option would you recommend?

Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Problem simulating with AMS Simvision
Reply #7 - May 8th, 2012, 9:38am
 
mtp3,
Analog/Linear for time-continuous signals, Analog/S&H for time-discrete signals.

- B O E
Back to top
 
 
View Profile   IP Logged
mtp3
Junior Member
**
Offline



Posts: 20

Re: Problem simulating with AMS Simvision
Reply #8 - May 9th, 2012, 3:23am
 
Thanks for the replies boe. They were of great help. I solved the issue by compiling the connect rules with a much smaller rise time (10ps instead of 0.2ns) and changing the views also helps.

Thanks for all the help.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.