OpenCores
URL https://opencores.org/ocsvn/robust_fir/robust_fir/trunk

Subversion Repositories robust_fir

[/] [robust_fir/] [trunk/] [src/] [base/] [def_fir_basic.txt] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 eyalhoc
 
2
##check all input parameters have been given
3
CHECK CONST(ORDER)
4
CHECK CONST(COEFF_BITS)
5
CHECK CONST(DIN_BITS)
6
 
7
SWAP NAME MAC_NUM_TOPO                         ##name of top module and file
8
SWAP INPUT_BITS DIN_BITS_COEFF_BITS            ##input sizes
9
SWAP TOPO ORDER_INPUT_BITS                     ##topology
10
 
11
SWAP COEFF_NUM EXPR(ORDER+1)                   ##number of coefficients
12
SWAP ADD_STAGES LOG2(COEFF_NUM)                ##number of binary tree adder stages
13
SWAP MULT_BITS EXPR(COEFF_BITS+DIN_BITS)       ##bits of mult product
14
SWAP DOUT_BITS EXPR(MULT_BITS+ADD_STAGES)      ##bits of output data (lossless)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.