📄 coregen.xml
字号:
<?xml version="1.0" encoding="UTF-8"?>
<RootFolder label="COREGEN" treetype="folder" language="COREGEN">
<Folder label="VERILOG Component Instantiation" treetype="folder">
<Template label="my_radix2_xfft1024" 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.
my_radix2_xfft1024 YourInstanceName (
.xn_re(xn_re),
.xn_im(xn_im),
.start(start),
.nfft(nfft),
.nfft_we(nfft_we),
.fwd_inv(fwd_inv),
.fwd_inv_we(fwd_inv_we),
.scale_sch(scale_sch),
.scale_sch_we(scale_sch_we),
.sclr(sclr),
.clk(clk),
.xk_re(xk_re),
.xk_im(xk_im),
.xn_index(xn_index),
.xk_index(xk_index),
.rfd(rfd),
.busy(busy),
.dv(dv),
.edone(edone),
.done(done),
.ovflo(ovflo));
</Template>
</Folder>
<Folder label="VHDL Component Instantiation" treetype="folder">
<Template label="my_radix2_xfft1024" treetype="template">
-- The following code must appear in the VHDL architecture header:
component my_radix2_xfft1024
port (
xn_re: IN std_logic_VECTOR(15 downto 0);
xn_im: IN std_logic_VECTOR(15 downto 0);
start: IN std_logic;
nfft: IN std_logic_VECTOR(4 downto 0);
nfft_we: IN std_logic;
fwd_inv: IN std_logic;
fwd_inv_we: IN std_logic;
scale_sch: IN std_logic_VECTOR(19 downto 0);
scale_sch_we: IN std_logic;
sclr: IN std_logic;
clk: IN std_logic;
xk_re: OUT std_logic_VECTOR(15 downto 0);
xk_im: OUT std_logic_VECTOR(15 downto 0);
xn_index: OUT std_logic_VECTOR(9 downto 0);
xk_index: OUT std_logic_VECTOR(9 downto 0);
rfd: OUT std_logic;
busy: OUT std_logic;
dv: OUT std_logic;
edone: OUT std_logic;
done: OUT std_logic;
ovflo: OUT std_logic);
end component;
-------------------------------------------------------------
-- The following code must appear in the VHDL architecture body.
-- Substitute your own instance name and net names.
your_instance_name : my_radix2_xfft1024
port map (
xn_re => xn_re,
xn_im => xn_im,
start => start,
nfft => nfft,
nfft_we => nfft_we,
fwd_inv => fwd_inv,
fwd_inv_we => fwd_inv_we,
scale_sch => scale_sch,
scale_sch_we => scale_sch_we,
sclr => sclr,
clk => clk,
xk_re => xk_re,
xk_im => xk_im,
xn_index => xn_index,
xk_index => xk_index,
rfd => rfd,
busy => busy,
dv => dv,
edone => edone,
done => done,
ovflo => ovflo);
</Template>
</Folder>
</RootFolder>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -