Oct 13, 2009 #1 I iamnoori Newbie level 3 Joined Sep 27, 2009 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,294 Hi. When I create a dpram with Core generator of Xilinx,it generate all port in "std_logic_vector".but I want to drive "WEA" and "WEB" by a signal with "std_logic" type.How can I do it?
Hi. When I create a dpram with Core generator of Xilinx,it generate all port in "std_logic_vector".but I want to drive "WEA" and "WEB" by a signal with "std_logic" type.How can I do it?
Oct 13, 2009 #2 F farhada Advanced Member level 2 Joined Oct 1, 2004 Messages 587 Helped 84 Reputation 168 Reaction score 30 Trophy points 1,308 Location Nice, France Activity points 5,025 Re: what is the meaning of "std_logic_vector(0 downto 0 It is a silly thing that Xilinx doesn't seems to care to fix. Just create a signal for your Xilinx_WEA and Xilinx_WEB with the same format (std_logic_vector(0 downto 0))and set the signals to something like this: Xilinx_WEA(0) <= WEA; And when you instantiate the IP, use the Xilinx_WEA and Xilinx_WEB there. BR, /Farhad
Re: what is the meaning of "std_logic_vector(0 downto 0 It is a silly thing that Xilinx doesn't seems to care to fix. Just create a signal for your Xilinx_WEA and Xilinx_WEB with the same format (std_logic_vector(0 downto 0))and set the signals to something like this: Xilinx_WEA(0) <= WEA; And when you instantiate the IP, use the Xilinx_WEA and Xilinx_WEB there. BR, /Farhad