The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> RF Simulators >> Cppsim 5 problem https://designers-guide.org/forum/YaBB.pl?num=1393029382 Message started by Kamal Mustafa on Feb 21st, 2014, 4:36pm |
Title: Cppsim 5 problem Post by Kamal Mustafa on Feb 21st, 2014, 4:36pm Hello everyone, New to the Forum :). I have registered here because I have heard that there are lots of talented PLL designers in the forum. Maybe this is a great opportunity to learn quality information from you :) To begin with, I have started recently learning PLL design. The first software to stumble upon was Cppsim. The software is easy to understand and use. However, the tutorials posted on the official website use an outdated version (Cppsim 3). Anyway, when following the tutorial steps, different results and warnings appear. In the file attached is the fractional-n frequency synthesizer system level design and two plots. Although I followed the required steps, the 'vin' appears as shown in 'My vin' plot. Unfortunately, the tutorial shows 'tut plot'. Vin is the dc used to steer the VCO. In addition i receive these warnings: 'Warning in Vco.inp: divide_val is too small for the given sample rate! in this case, divide_val = '2', and should be >= '8' -> setting divide val to '8' whenever it is too small Warning in Vco.inp: interpolated output has value beyond -1 to 1 range in this case, out = -5631.416 probable cause: input or divide value inappropriate in this case, in = -18.051, divide value = 32 also, make sure divide value is not changing more than once per VCO cycle Warning in EdgeDetect.inp: in is < -1.0 or > 1.0 in this case, in = -5631.416 warning in 'delay.inp': nonvalid input! in must -1.0, 1.0, or some value inbetween in this case, in = -5.631e+003 **** in short, input is not conforming to the double_interp protocol **** warning in Vco.inp: divide value transitioned more than once during one cycle of Vco output' Finally, it is important to state that the EMACS file is exactly written as the tutorial instructs. I would be thankful for any thoughts and ideas. |
Title: Re: Cppsim 5 problem Post by Kamal Mustafa on Mar 11th, 2014, 12:44pm Bump |
Title: Problem Update Post by Kamal Mustafa on Mar 12th, 2014, 6:24pm Hello everyone, After reading for a while, I have noticed that the difference between this simulator edition and past editions is the introduction of "double_interp method" to the simulator. Attached to this file is a paper describing the method implemented by the Cppsim createor 'Michael Perrot' For the first warning, it is apparent that the delta sigma modulator block does not sense any clock edge which causes it deliver an output of '2' [default value for the output]. Its have been weeks now since i have first posted. Unfortunately, I have received zero replies which makes me sad. Anyway, I still appreciate any help from the members here. Regards |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |