FIR Filter Model

P

priya

Guest
Hi All,

I have written a n-tap FIRFILTER model using Verilog
Code.Here i want to give the tap valus as real array type.I am using
Icaurs simulaor to run this verilog Code.But icarus simulator doesnt
support real array type.But i should give the tap input values as real
array type.is there any way to use real array type in my code?


ragards,
priya
 
Hi,
Real data type is not synthesizable, so you may want to consider using
two
integers (or signal vectors [N:0]) first to represent the integer part
and second
to represent the fractal part. This will allow you to use icaurs and
make your
code synthesizable.

Regards,
Vispi

"priya" <priya11.karthik@gmail.com> wrote in message
news:1123762574.480762.299410@g43g2000cwa.googlegroups.com...
Hi All,

I have written a n-tap FIRFILTER model using Verilog
Code.Here i want to give the tap valus as real array type.I am using
Icaurs simulaor to run this verilog Code.But icarus simulator doesnt
support real array type.But i should give the tap input values as real
array type.is there any way to use real array type in my code?


ragards,
priya
 
Or, simply treat everything as fixed point and bring back the concept
of a fraction after the final output is generated.

Example:

Floating point (real):
1.2 * 3.4 = 4.08

Fixed point:
12*34 = 408 => 4.08, putting the decimal after final calculation.

- Swapnajit
_____________________________________________________________________
SystemVerilog, DPI, Verilog PLI and all other good stuffs.
Project VeriPage: http://www.project-veripage.com
For subscribing to the mailing list:
<URL: http://www.project-veripage.com/list/?p=subscribe&id=1>
 
unngghh...I wonder if people are blindly using their software
programming skills to describe hardware.
 
Do you have any other implementation in mind that uses
less hardware than the one that I proposed?

- Swapnajit
______________________________­______________________________­_________

SystemVerilog, DPI, Verilog PLI and all other good stuffs.
Project VeriPage: http://www.project-veripage.com
For subscribing to the mailing list:
<URL: http://www.project-veripage.com/list/?p=subscribe&id=1>
 

Welcome to EDABoard.com

Sponsor

Back
Top