How does RAM give "4"th value when CPU requests the "001"th

  • Thread starter Thread starter NotASmurf
  • Start date Start date
  • Tags Tags
    cpu Ram Value
AI Thread Summary
RAM addresses memory cells using a binary to decimal decoding process, typically implemented as a 2D array with row and column addresses. Each memory address consists of multiple bits, requiring a decoder that translates these bits into specific memory segments. In simpler designs, a 3:8 decoder can be used, where the three address bits enable one of eight outputs to access the corresponding memory segment. This approach ensures that only one segment is activated at a time, allowing for efficient memory access. Proper address decoding is essential for accurately retrieving data from specific memory cells in both simulations and actual hardware.
NotASmurf
Messages
150
Reaction score
2
Hey all, I'm currently building a 8 bit CPU and ram in simulator software but have no idea how to call a specific memory cell, ie I can't call the "001"(binary) cell, I'd want it to be translated to call the 4th cell. How does real ram solve that issue? Any help appreciated, thanks.
 
Engineering news on Phys.org
While that looks like a strange convention: the 4th ram cell should check if the bits are "001", and get read out if this is true.
 
  • Like
Likes NotASmurf
Does ram seriously have this on each cell? Doesn't it have a binary to decimal decoder or something?
 
A binary to "every single RAM cell" decoder has one logic element for every single RAM cell.
In actual hardware this is not true as RAM forms a 2D array with row and column addresses, but there each row and each column needs such an element in the decoder. On the other hand, each memory address has more than one bit so you have to think about the actual implementation of it. I don't know how realistic your simulation is supposed to be.
 
You need to implement address decoding.

In a simple implementation you would feed your 3 address bits to a 3:8 decoder. Each output of the decoder goes to a 'memory segment enable' input which let's the decoder control which segment is being accessed at a given moment (since a decoder only has one high output at a given moment).
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top