Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Newbie
pguillem
Posts: 1
Registered: ‎02-11-2011
0

Problem with 20log10 LUT in Mcode

Hi,

I'm trying to implement a lookup table in mcode.  The intent is to provide a 23 bit number, compare it to some decision boundary values, then provide a decibel value between -128 and 0 dB.

 

I've attached my current attempt to this post.

 

I'm not sure what I'm doing wrong in the code.  When I try to update my design, I get some unknown internal error.

 

If someone could help me, I'd really appreciate it.  My implementation is intended to allow for fast clock speeds.  I'm more of a systems guy than an FPGA expert, so I may have made some error in this attempt.

 

If anyone can help, I'd be very grateful.

 

BR,

Phil

 

P.S.  My tool versions are the following:

 

-------------------------------------------------------------------------------------
MATLAB Version 7.3.0.267 (R2006b)
Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3)
Java VM Version: Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
-------------------------------------------------------------------------------------
MATLAB                                                Version 7.3        (R2006b)        
Simulink                                              Version 6.5        (R2006b)        
Communications Blockset                               Version 3.4        (R2006b)        
Communications Toolbox                                Version 3.4        (R2006b)        
Filter Design Toolbox                                 Version 4.0        (R2006b)        
Fixed-Point Toolbox                                   Version 1.5        (R2006b)        
Signal Processing Blockset                            Version 6.4        (R2006b)        
Signal Processing Toolbox                             Version 6.6        (R2006b)        
Simulink Fixed Point                                  Version 5.3        (R2006b)        
Xilinx System Generator                               Version 9.1.01     production build

-------------------------------------------------------------------------------------

Moderator
nathanx
Posts: 135
Registered: ‎08-01-2007
0

Re: Problem with 20log10 LUT in Mcode

 

 

Check AR http://www.xilinx.com/support/answers/17966.htm, if it is the internal error, try another model to see if the error is specific to the model you are currently using. If the issue not related to any specific model, then I would suggest re-install Matlab, ISE and SysGen, there is a large possibility that software has some problems.