Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Right, but how can I use dynamic memory in case of fixed-point? With floating-type I was using malloc. Is there a way to do the same with fixed-type?
Elnaz
Thanks FvM. You're absolutely right.
I have another question as well. I don't know why I'm getting a "corruption of the heap" error when I "free" the menory of a fixed-point variable? I was always doing this after I'm done with a floating point variable but with the fixed-point it doesn't work...
Hi all,
In order to calculate the absolute value of a number in fixed-point, I'm doing num = num & ~(1<<BP) where num is a 64 bit signed fixed-point value (32 integer bits plus 32 fractional bits) and BP is the wordlength=64. But running the C code in VS 2010 I end up getting the same negative...
Hi all,
Does anyone know of a division function in C for fixed-point numbers?
I am using ac_fixed header but apparently that doesn't work since I'm getting zeros when I do 1/a where "a" is a fixed-type with values between 30-60.
Thank you,
Elnaz
Hi all,
I need a vhdl code for a 4 coefficient FIR filter but I don't have the "Filter Design HDL Coder" installed on my FDAtool. Is there anyway around this issue? I am looking for a vhdl code based on distributed arithmetic.
Thanks
Elnaz
Hi everybody,
I need a simple vhdl code for signed distributed arithmetic. I want to
calculate the result of an inner product with distributed arithmetic
(FIR filter). Can you guide me to some sources please?
Hi everyone,
I have captured movements inside an irregular shape and need to map it on the monitor's screen to control cursor position. The input space is a 2D shape with 4 boundaries and these boundaries are not straight lines but irregular and nonlinear. The 2nd space is simply a 2D screen...
Hi
Does any one know if there is an mfile based implementation of "sequential floating forward" feature selection algorithm available?
( except the one in "PRTOOLS package" ofcourse)
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.