011 Core Gen Tutor
011 Core Gen Tutor
Y.T.Chang/2001.02/XLNX_HDL core-1
Overview I CIC
Y.T.Chang/2001.02/XLNX_HDL core-2
Overview II CIC
! Math: Accumulator,
Adders/Subtractors, Complements,
Constant Coefficient Multipliers,
Parallel Multipliers, Integrator, square
Root
! Memories: Delay Element, Registered
DualPort RAM, Registered ROM,
Registered SinglePort RAM,
Synchronous FIFO
Y.T.Chang/2001.02/XLNX_HDL core-3
CIC
How to Obtain New Cores and Updates
Y.T.Chang/2001.02/XLNX_HDL core-4
Project Management CIC
Y.T.Chang/2001.02/XLNX_HDL core-5
Setup the Coregen.ini File CIC
! coregen.ini File
! “coregen.ini” is created during the install of the CORE Generator
and can be found in the following directory:
<CORE_Generator_Install_Path>/coregen/wkg
! Many parameters are set in this file
! The parameters expressed in the coregen.ini file:
! The following parameters are determined during installation, and
usually do not need to be changed:
! CoreGenPath, FoundationPath, AcrobatPath, and
AcrobatName.
! Other settings will usually need to be changed by the user, such
as
! SelectedProducts, ProjectPath, BusFormat, and XilinxFamily.
! Changes to your output options and system options are best done
through the CORE Generator Output format and System
Options forms.
! Options -> Output format for the Output format form
! Options -> System Options… for the System Options form.
Y.T.Chang/2001.02/XLNX_HDL core-6
Coregen.ini Syntax Summary CIC
Y.T.Chang/2001.02/XLNX_HDL core-7
Sample coregen.ini file CIC
Y.T.Chang/2001.02/XLNX_HDL core-8
Setup SelectedProducts I CIC
Y.T.Chang/2001.02/XLNX_HDL core-9
Setup SelectedProducts II CIC
Y.T.Chang/2001.02/XLNX_HDL core-11
Set the CORE Generator Output CIC
Options I
Y.T.Chang/2001.02/XLNX_HDL core-12
Set the CORE Generator Output CIC
Options II
! VHDL Instantiation Template
! A VHDL instantiation template that can be used in your HDL
design capture tools to instantiate the module netlist.
! Output: <CoreName>.vhi
! VHDL Behavioral Simulation Model
! A VHDL simulation model which can be used to verify the
functional simulation of the module netlist.
! This file is not intended to be synthesized.
! It is only provided for behavioral simulation
! Output: <CoreName>.vhd
! Verilog Instantiation Template
! A Verilog instantiation template that can be used in your
HDL design capture tools to instantiate the module netlist.
! Output: <CoreName>.vei
Y.T.Chang/2001.02/XLNX_HDL core-13
Set the CORE Generator Output CIC
Options III
! Verilog Behavioral Simulation Model
! A Verilog simulation model which can be used to verify the
functional simulation of the module netlist.
! This file is not intended to be synthesized.
! It is only provided for behavioral simulation
! Output: <CoreName>.v
! The Family drop-down box
! Restrict the CORE Generator module browser to show only
those modules that may be targeted to the selected family
of devices.
! At this time the supported families of devices are
! All XC4000 Families
! All Spartan Families
! All Virtex Families
Y.T.Chang/2001.02/XLNX_HDL core-14
Using the CORE Generator CIC
Y.T.Chang/2001.02/XLNX_HDL core-15
Core Browser Tree CIC
Y.T.Chang/2001.02/XLNX_HDL core-16
Accessing Core Data Sheet CIC
Y.T.Chang/2001.02/XLNX_HDL core-17
Parameterizing a Core I CIC
Y.T.Chang/2001.02/XLNX_HDL core-18
Parameterizing a Core II CIC
! Component Name
! allows you to assign a name
to a module that you create.
! Restrictions:
! Up to 8 characters
! No extensions
! Must begin with a alpha
character: a-z (No Capital letters)
! May include (after the first
character): 0-9, _
! The illegal or invalid field will behighlighted in red until the problemis
corrected.
! Assuming there are no problems with any of the parameters that have
been specified, pressing Generate will cause the CORE Generator to
create files of the requested types.
! Pressing Cancel will return you to the module browser window without
generating any files.
Y.T.Chang/2001.02/XLNX_HDL core-19
COE Files CIC
Y.T.Chang/2001.02/XLNX_HDL core-20
Example - PDA FIR Filter CIC
Y.T.Chang/2001.02/XLNX_HDL core-21
.COE Format CIC
Y.T.Chang/2001.02/XLNX_HDL core-22
.COE Examples - PDA FIR CIC
Y.T.Chang/2001.02/XLNX_HDL core-23
.COE Examples - SDA FIR CIC
Y.T.Chang/2001.02/XLNX_HDL core-24
.COE Examples - RAM CIC
Y.T.Chang/2001.02/XLNX_HDL core-25
.COE Examples - ROM CIC
Y.T.Chang/2001.02/XLNX_HDL core-26
CORE Generator Design Flow
Y.T.Chang/2001.02/XLNX_HDL core-28
Foundation Schematic Flow I CIC
Y.T.Chang/2001.02/XLNX_HDL core-30
Foundation Schematic Flow III CIC
Y.T.Chang/2001.02/XLNX_HDL core-32
Foundation HDL Flow II CIC
Y.T.Chang/2001.02/XLNX_HDL core-33
Foundation HDL Flow III CIC
! 5. Output Files
! A VHDL or Verilog instantiation template
(module_name.VHI or module_name.VEI) and a Netlist
File (.EDN) will be created and copied into the CORE
Generator project directory.
! The instantiation template contains the component
declaration as well as the Port Map/Module declaration for
the module that has been selected.
! This instantiation template can be copied and pasted into
the top-level HDL file.
Y.T.Chang/2001.02/XLNX_HDL core-34
VHDL Example - Instantiation template
CIC
Y.T.Chang/2001.02/XLNX_HDL core-39