coregen.xml

来自「xilinx FFT using ip core project navigat」· XML 代码 · 共 103 行

XML
103
字号
<?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 =&gt; xn_re,
            xn_im =&gt; xn_im,
            start =&gt; start,
            nfft =&gt; nfft,
            nfft_we =&gt; nfft_we,
            fwd_inv =&gt; fwd_inv,
            fwd_inv_we =&gt; fwd_inv_we,
            scale_sch =&gt; scale_sch,
            scale_sch_we =&gt; scale_sch_we,
            sclr =&gt; sclr,
            clk =&gt; clk,
            xk_re =&gt; xk_re,
            xk_im =&gt; xk_im,
            xn_index =&gt; xn_index,
            xk_index =&gt; xk_index,
            rfd =&gt; rfd,
            busy =&gt; busy,
            dv =&gt; dv,
            edone =&gt; edone,
            done =&gt; done,
            ovflo =&gt; ovflo);
 
		</Template>
	</Folder>
</RootFolder>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?