coregen.xml
来自「调用FPGA的IP核实现FFT运算」· XML 代码 · 共 104 行
XML
104 行
<?xml version="1.0" encoding="UTF-8"?>
<RootFolder label="COREGEN" treetype="folder" language="COREGEN">
<Folder label="VERILOG Component Instantiation" treetype="folder">
<Template label="fft64" treetype="template">
// The following must be inserted into your Verilog file for this
// core to be instantiated. Change the instance name and port connections
// (in parentheses) to your own signal names.
fft64 YourInstanceName (
.clk(clk),
.ce(ce),
.sclr(sclr),
.fwd_inv(fwd_inv),
.fwd_inv_we(fwd_inv_we),
.start(start),
.unload(unload),
.xn_re(xn_re), // Bus [7 : 0]
.xn_im(xn_im), // Bus [7 : 0]
.rfd(rfd),
.xn_index(xn_index), // Bus [5 : 0]
.busy(busy),
.edone(edone),
.done(done),
.dv(dv),
.xk_index(xk_index), // Bus [5 : 0]
.xk_re(xk_re), // Bus [7 : 0]
.xk_im(xk_im), // Bus [7 : 0]
.blk_exp(blk_exp)); // Bus [4 : 0]
</Template>
<Template label="FIR" treetype="template">
</Template>
<Template label="fj" treetype="template">
</Template>
</Folder>
<Folder label="VHDL Component Instantiation" treetype="folder">
<Template label="fft64" treetype="template">
-- The following code must appear in the VHDL architecture header:
component fft64
port (
clk: IN std_logic;
ce: IN std_logic;
sclr: IN std_logic;
fwd_inv: IN std_logic;
fwd_inv_we: IN std_logic;
start: IN std_logic;
unload: IN std_logic;
xn_re: IN std_logic_VECTOR(7 downto 0);
xn_im: IN std_logic_VECTOR(7 downto 0);
rfd: OUT std_logic;
xn_index: OUT std_logic_VECTOR(5 downto 0);
busy: OUT std_logic;
edone: OUT std_logic;
done: OUT std_logic;
dv: OUT std_logic;
xk_index: OUT std_logic_VECTOR(5 downto 0);
xk_re: OUT std_logic_VECTOR(7 downto 0);
xk_im: OUT std_logic_VECTOR(7 downto 0);
blk_exp: OUT std_logic_VECTOR(4 downto 0));
end component;
-------------------------------------------------------------
-- The following code must appear in the VHDL architecture body.
-- Substitute your own instance name and net names.
your_instance_name : fft64
port map (
clk => clk,
ce => ce,
sclr => sclr,
fwd_inv => fwd_inv,
fwd_inv_we => fwd_inv_we,
start => start,
unload => unload,
xn_re => xn_re,
xn_im => xn_im,
rfd => rfd,
xn_index => xn_index,
busy => busy,
edone => edone,
done => done,
dv => dv,
xk_index => xk_index,
xk_re => xk_re,
xk_im => xk_im,
blk_exp => blk_exp);
</Template>
<Template label="FIR" treetype="template">
</Template>
<Template label="fj" treetype="template">
</Template>
</Folder>
</RootFolder>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?