--
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xyce-users/0301d90f-0c7d-412a-a6a0-79a851991385o%40googlegroups.com.
Fair enough.Murat H. Eskiyerli
On Wed, 1 Jul 2020, 15:27 xyce-users, <xyce-...@googlegroups.com> wrote:
--There is no plan at this time to support idt in Xyce/ADMS. There are some technical blockers, but the main blocker is limited team resources and higher priorities.On Wednesday, July 1, 2020 at 4:48:49 AM UTC-6, Murat Eskiyerli wrote:Hi,Are there any plans to implement idt function in Verilog-A? What would be the blocking item for its implementation? It is difficult to create some models such as VCOs without it.
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+unsubscribe@googlegroups.com.
Dr Murat Eskiyerli, DIC CEng MIET E // eski...@gmail.com |
The netlist I posted had 10V on the input, and when I work it through with the defaults, the solution should be 9KHz when Vin=-10, 1KHz at Vin=0, and 11KHz when Vin=10. That kinda looks like what you have here. I haven't worked through the phase question, but I think that's doing the right thing, too, because of the way that vin is slewing between values over .25ms and the fact that when vin=-10 the output is really sin(-9000*2*pi*t)=-sin(9000*2*p*t), and we transition somewhat abruptly to sin(2*pi*1000*t). I'd expect a phase shift. If I plot the actual value of V(theta) (the result of the integration of vin*omega_gain+omegac, which is available as N(yvavco!vco1_theta)) I see a smooth, basically piecewise linear function as one would expect (modulo the curving of the transitions due to the vin rise time) the slope of which is the instantaneous vin, and if I take its sin and plot that, I get exactly the v(out) results, complete with the odd-looking phase change.If you change the netlist so that vin ranges from -1 to 1 (which is more like the range you've got your vin plot set to show), then you get 0, 1kHz and 2Khz signals, with no phase issues during the frequency changes. I had only chosen -10/+10 based on your first post, which had that range in its vin plot.I did not try to design a behavioral model of a VCO of any value. All I did to get "my" vavco.va is to take the one you posted and replace the v(out) with what you said the original had (with idt in the argument), replacing the idt integration with the capacitor integration trick (which does indeed give V(theta) that is the integral from t=0 to t=now of the quantity vin*omega_gain+omegac). Could it be that the original had a little more to it?
On Saturday, July 4, 2020 at 10:38:03 AM UTC-6, Murat Eskiyerli wrote:Hi,This is the result I get for the output waveform using your va and test circuit:Unless I am doing something wrong somewhere, there are few issues I can see:
When Vin is negative, you would expect that the output frequency is lowest. In this case, the frequencies of the first and third output waveforms are almost the same while the frequency of the output when Vin=0 is the lowest. The output phase is discontinuous when the Vin changes.Thanks for implementing the $bound_step by the way. I really appreciate the hard work of Xyce team.Best,
Dr Murat Eskiyerli, DIC CEng MIETE // eski...@gmail.com
--You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/xyce-users/c95cc33f-f1ab-4a6d-bcea-cd2b3ad9e6cfo%40googlegroups.com.
I think, it is fair to say that Verilog-a implementation in Xyce is really oriented towards device models.
--
You received this message because you are subscribed to the Google Groups "xyce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xyce-users/36b96e98-2285-4d27-a2b0-1391944652a8n%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to xyce-users+unsubscribe@googlegroups.com.