instantiating the lpm_ram_dq component

时间:2007-04-29
library lpm;
use lpm.lpm_components.all;
library ieee;
use ieee.std_logic_1164.all;
entity lpm_inst is
port (clock, we: in std_logic;
data : in std_logic_vector(3 downto 0);
address : in std_logic_vector(3 downto 0);
q : out std_logic_vector (3 downto 0));
end lpm_inst;
architecture arch1 of lpm_inst is
begin
I0 : lpm_ram_dq
generic map (LPM_WIDTH => 4,
LPM_WIDTHAD => 4,
LPM_TYPE => "LPM_RAM_DQ")
port map (data => data,
address => address,
we => we,
inclock => clock,
outclock => clock,
q => q);
end arch1;

其实Synplify可以识别出你的ram然后自动的用lpm代替,但是好像对xilinx的不大好用

  
上一篇:Synplicity网站有Synplify7.01
下一篇:采用基于C语言的设计流优化语音识别芯片结构设计

免责声明: 凡注明来源本网的所有作品,均为本网合法拥有版权或有权使用的作品,欢迎转载,注明出处。非本网作品均来自互联网,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。

相关技术资料