Read Only Memory

by layla juma in Craft > Digital Graphics

2522 Views, 10 Favorites, 0 Comments

Read Only Memory

Screen Shot 2016-09-01 at 2.02.53 PM.png

A ROM is a combinational component for storing data. The data might be a truth table or the data might be the control words for a microprogrammed CPU. A ROM that implements two functions does not require twice the number of gates as a ROM that implements one function. (The decoder is shared by every output function.)

we will design Read only memory using the circuits cloud simulator

http://circuits-cloud.com/

if you does not used the circuits-cloud before, you can see this intractable:

https://www.instructables.com/id/Circuits-Cloud/

The ROM Design

Screen Shot 2016-09-01 at 2.07.13 PM.png

Because it is 16*8 ROM, it needs:

- 4 digital inputs

- 8 leds ( as output )

So, drag and drop the components from the digital components panel and connect them

Store the Value in ROM Locations

Screen Shot 2016-08-31 at 11.08.22 AM.png
Screen Shot 2016-08-31 at 11.17.47 AM.png

1. Double click in ROM parameter.

2. write an 8-bit value in each location of ROM.

3. click on ( save parameter)

Saving and Running the Circuit

save your circuit then running it.

check the output value in each address (location):

if input ( A0, A1, A2, A3 ) =

0000 , output = the value stored in location 0

1000 , output = the value stored in location 1

0100 , output = the value stored in location 2

1100 , output = the value stored in location 3

0010 , output = the value stored in location 4

and so on.

- you can check the circuit:

http://circuits-cloud.com/circuit/details/gdd1FJeK...

- also you can see how the circuit works.. in this video