Answers Database
V1.5, V1.4 COREGEN: sample COREGen .COE coefficient files for a PDA FIR filter, RAM and ROM.
Record #3040
Product Family: Software
Product Line: Coregen
Product Part: Coregen
Product Version: c1_4
Problem Title:
V1.5, V1.4 COREGEN: sample COREGen .COE coefficient files for a PDA FIR filter, RAM and ROM.
Problem Description:
Keyword: COREGEN, CORE Generator, ROM, RAM, FIR, Filter, PDA, SDA
Urgency: standard
The following are sample Coregen coefficient (.COE) files for FIR Filters, ROM, and RAM.
The sample COE files may also be found in your COREGEN
installation under the coregen\wkg directory in your
COREGEN installation tree.
Solution 1:
Registered (Distributed) ROM:
Component_name=rom48x8;
Data_width=8;
Address_width=6;
Depth=48;
Radix=16;
Memdata=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,2
1,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,
42,43,44,45,46,47;
For more information, please refer to the online specification
sheet for the Registered ROMs in COREGen.
Solution 2:
Dual Port and Single Port (Distributed) Ram:
Component_name=dpram48x8;
Data_width=8;
Address_width=6;
Depth=48;
Radix=16;
Memdata=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,
25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47;
The Memdata field allows you to specify the initialization
values for your CORE Generator RAM.
The format of a COE file for a Single Port RAM is the same as
that for a Dual Port RAM.
For more information, please refer to the CORE Generator spec
sheet for the Registered RAMs.
Solution 3:
FIR Filter:
component_name=pdafir;
number_of_taps=8;
radix=16;
input_width=8;
coef_width=8;
output_width=20;
symmetry=true;
cascade=false;
trim_empty_roms=false;
signed_input_data=false;
coefdata=20,A,15,34;
The following is a brief explanation of the keywords in the
coefficient File.
Component_name: declares the name of the component.
Number_of_taps: Specifies the number of taps.
Radix: Specifies the base of the coefficient.
Radix=10 indicates that the
coefficients are in base 10 (decimal) format,
Radix=16 indicates that the
coefficient is in hexadecimal.
Input_width: Specifies the input width.
Coef_width: Specifies the output width.
Output_width: Specifies the output width.
Symmetry: Specifies the symmetry of the filter. "TRUE"
indicates that the filter coefficients are
symmetrical, "FALSE" means they are
asymmetrical.
Cascade: Specifies whether the cascade capability of
the filter is enabled.
Trim_empty_rom: Trims out unnecessary logic associated with
ROM modules. This option can save some
resources by trimming out unused logic, but
For more information, please refer to the specification sheets
for the FIR filters.
End of Record #3040 - Last Modified: 06/26/99 15:35 |