The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 20th, 2019, 9:32am
Pages: 1
Send Topic Print
CppSim Tutorial question using Sue2 (Read 474 times)
maxcy
Junior Member
**
Offline



Posts: 14

CppSim Tutorial question using Sue2
Apr 25th, 2018, 11:18pm
 
In the tutorials (in the CppSim home page) there is one for the 'Design of a Wideband Fractional-N Frequency Synthesizer Using CppSim' and a download file that accompanies the project. I imported the download into the library in Sue2 according to the tutorial. Then I opened up the wb_synth example per instructions. I then did a simple compile/run and ended up with errors. The first error complained about undefined _gl parameters. Looking into the editor I found that the param. line was with no pararmeters, but the commented param line above it looked ok, so I uncommented that line so now I had defined _gl parameters. And recompiled the example. The global errors went away, but now I got the following error:

error in 'eval_no_paren_expr': argument not defined
 in file 'test.par'
  arg = 'enable'
expession = enableerror
 line reads:
→ *Enable the Data Weight Everaging Algorithm 1.0=enable, -1.0=disable

looking again into the editor I find the  following line in the test.par file editor:

*Enable the Date Weight Averaging Alogorithm 1.0=enable, -1.0=disable dwaen=-1.0;

but nothing that seems to relate to the first 5 lines of the error message. I am at a loss of how to fix this example. I would have thought that downloaded examples would work without all these problems! Please help get this running.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2019 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.