Forum Discussion
Altera_Forum
Honored Contributor
14 years agoask help for vhdl code of 1 bit memory
Hi, I am trying to write the code of 1bit SRAM, it has just read /write status. Give two signals we (write) and select_en (this memory cell is choose to work), then the date would be wrote in the mem...
Altera_Forum
Honored Contributor
14 years agoHi Matthias,
I am sorry to reply so late. and like you said,what I have to do is write a VHDL code of 256*8 bit memory. Ijust started learning VHDL. This is a homework. The tipps I got is first write 1 bit register (RS-Flip Flop) and a demux.and then build them together a 256*8 bit memory. actually I don't understand the tipps.what i want to do is first write a group registers which can stored 8 bit date,that means I change the date_in.date_out,Q_state from std_logic to std_logic_vector in VHDLcodes upstairs. Is that right? and second about the Demux. I am not sure what's the function it is.is that : input a signal Enable and there are 256 output,decide which register vectore to be activated? and how can I make them together?