[讨论]我定义的两个 FFT 实体 的优劣 探究
entity fft4 is
generic(
WORD_WIDTH :integer := 32;
);
port(
clk :IN std_logic;
start :IN std_logic := '0';
memin :IN RAM ;
memout :OUT RAM ;
finish :OUT std_logic := '0'
);
end fft4;
和
entity fft4 is
generic(
WORD_WIDTH :integer := 32;
);
port(
clk :IN std_logic;
start :IN std_logic := '0';
mem :INOUT RAM ;
finish :OUT std_logic := '0'
);
end fft4;
这两个实体定义在具体的实现时要注意什么呢 ??
另外
--constant RAM_WIDTH:integer := 32;
--subtype RAMWORD is std_logic_vector(ROM_WIDTH-1 downto 0);
--type RAM is array(0 to FFT_NUM) of ROMWORD;
应该在哪里说明呢?? 希望路过的讨论下
发表时间:2007年5月8日15:12:54