Problems with SRAM controller

B

bittor

Guest
Hello,
I must do a symple controller for SRAM in VHDL. I must write datas and
after read these datas. I have problems with bidirectional port. Someone
has a similar design or an idea for doing this?
Thanks
 
You can three registers such as Data_in, Data_out and Data. Then you
must use tri-state

Data <= Data_out when RamW = '1' else (others => 'Z' );
Data_in <= Data when RamR = '1' else (others => '0');
 
Thanks usrdr,
That's what I've done and now all is running well.
Happy new year!!
 

Welcome to EDABoard.com

Sponsor

Back
Top