circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

Question: Memory

Open lukacs-leon opened this issue 1 year ago • 14 comments

How can I add a ROM or a flash memory to my circuit, or if it is not there, can it be included?

lukacs-leon avatar Feb 18 '24 16:02 lukacs-leon

Use the Static Ram under "digital chips".

You can use it like a ROM. Just don't write to it. 🙂

pfalstad avatar Feb 18 '24 19:02 pfalstad

Thanks @pfalstad

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

How can I write data to a static RAM?

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

Under the edit, content?

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

Képernyőfotó 2024-02-19 - 16 07 41 what's on this static RAM?

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

yes, you can load the static ram using right click, Edit, Contents.

What's your other question? I can't tell what's on the static RAM by looking at a picture of it.

pfalstad avatar Feb 19 '24 16:02 pfalstad

what can i do with which leg?

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

The WE is "write enable". That should be low (0V) when writing, high (5V) when reading. So if you are making a ROM, that should always be 5V.

The OE is "output enable". The RAM is enabled when low (0V), disabled when high (5V).

A0-A3 are the address pins, and D0-D3 are the data pins.

pfalstad avatar Feb 19 '24 16:02 pfalstad

Thanks

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

how big is this memory? how many Bytes / Kb?

lukacs-leon avatar Feb 19 '24 16:02 lukacs-leon

does it have four serial ports or can I send four bits on a parallel port?

lukacs-leon avatar Feb 19 '24 17:02 lukacs-leon

well, it's got 4 address pins and 4 data pins so it can store 2^4 = 16 4-bit words, or 8 bytes.

I guess you could call it a parallel port. The data bits are accessed in parallel.

pfalstad avatar Feb 19 '24 17:02 pfalstad

thank you

lukacs-leon avatar Feb 19 '24 17:02 lukacs-leon

could you give me an example of something when I enter something in advance on the edit and then it reads it and writes it to a scope with an out?

lukacs-leon avatar Feb 19 '24 17:02 lukacs-leon