The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 17th, 2024, 11:38pm
Pages: 1
Send Topic Print
Question on VHDL-AMS modeling? (Read 2439 times)
ethanlinear
New Member
*
Offline



Posts: 3

Question on VHDL-AMS modeling?
Oct 11th, 2011, 11:14am
 
I am confused with isj_out. It is not on the port list and never has an initial value, but there is a line,

     vsj_out == vsj_int + isj_out * 50.0;

What is the purpose for isj_out here? I am trying to convert VHDL-AMS code into Verilog-AMS code, how can I do it? thanks,



architecture bhv of sj_src is
     constant sj_tau : time := 10ps;
     quantity vsj_out across isj_out through sj_out;
     quantity vsj_int : voltage;
begin
     -- All quantities considered in a 50 Ohm environment
     -- Voltage source is 2 * effective voltage
     -- sj_amp is considered a PP voltage
     -- output signal is centered around Vdd/2=0.0V
     vsj_int == 2.0 * (0.0 + 0.9 * 0.5 * sj_amp * sin(MATH_2_PI*sj_freq*freq*NOW));
     vsj_out == vsj_int + isj_out * 50.0;
end bhv;
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Question on VHDL-AMS modeling?
Reply #1 - Oct 11th, 2011, 9:26pm
 
isj_out appears to the the current through sj_out.  Looks like the voltage source in series with a 50Ω resistor.

-Ken
Back to top
 
 
View Profile WWW   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.