Altera_Forum
Honored Contributor
10 years agoMemory works in simulation, but not on HW?
Hello guys, I used the megafunction wizard to create 1-Port RAM. Then I managed to make the input and output bus as a single bi-directional bus. So the top level entity is :
entity SRAM is port ( OE : in std_logic; WR : in std_logic; Data_Bus : inout std_logic_vector (7 downto 0); Address_Bus: in std_logic_vector (7 downto 0) ; clk : in std_logic ); Now in simulation (Timing and functional) , everything is working ok. I can write and read properly from the RAM after providing the clock. But now I assigned pins for the IOs , and tried to use it with microcontroller, but it is not working . I have not used any dedicated IOs and the IO bank is powered . What can the problem be ?