Deco Assignment 2 .... Ashutosh
Deco Assignment 2 .... Ashutosh
Deco Assignment 2 .... Ashutosh
DECO
- ASHUTOSH TIWARI
QUES 1 . Explain the difference between cache memory and virtual memory.
Cache Memory:
A type of fast memory built into the processor or placed close to it.
Used to temporarily store frequently accessed data and instructions.
Processor checks cache memory first before retrieving data from slower memory such as RAM or a hard drive.
Virtual Memory:
Here are some short notes on CD-ROM, Dynamic RAM, EPROM, and Hard Disk:
• Hard Disk
• A type of non-volatile computer storage that uses spinning disks to store and retrieve digital data.
• Hard disks have a high storage capacity and are used to store operating systems, software, and user files.
• Data is stored magnetically on the disk's surface, and the disk is read using read/write heads that move across the disk's
surface.
QUES 3 . WHAT IS ASSOCIATIVE MEMORY ? DRAW AND EXPLAIN ITS BLOCK DIAGRAM
Associative memory is a type of computer memory that allows the computer to access data based on its content rather than its
location in memory. It is also known as content-addressable memory (CAM).
Address Input
Data Input
Memory Array
The Address Input is used to specify the search criteria for the data that is being sought. The Data Input is used to input the data
to be searched. The Memory Array stores the data along with the associated address.
In an associative memory, the data input is compared with the contents of the memory array in parallel. If the data input
matches the contents of any memory location, the address associated with that data is output. This allows for faster data
retrieval since the data can be found based on its content rather than its physical location.
QUES 4 . USING EIGTH 64 * 8 ROM CHIPS WITH AN ENABLE INPUT AND DECODER , CONSTORS A 512 * 8 ROM ?
To construct a 512 * 8 ROM using eight 64 * 8 ROM chips with an enable input and decoder, we can follow these steps:
• Connect the enable inputs of all eight ROM chips to a common enable signal.
• Connect the address lines of the eight ROM chips to the output of the decoder. The decoder takes the nine address inputs
and generates eight chip select signals for each of the eight ROM chips.
• Assign consecutive address ranges to each of the eight ROM chips using the chip select signals from the decoder.
• Connect the eight data outputs of each ROM chip to a common data bus.
• Use tri-state buffers on each data output to avoid bus contention when multiple ROM chips try to output data at the same
time.
• Write the appropriate data into each of the 64 * 8 ROM chips based on the assigned address ranges.
• By following the above steps, we can create a 512 * 8 ROM using eight 64 * 8 ROM chips with an enable input and decoder.
QUES 5 . DIFFERENCE BETWEEN REGISTORS AND COUNTORS ?
The main differences between registers and counters:
Registers:
- Used to store data temporarily in a digital system
- Made up of flip-flops
- Can store data such as addresses, instruction codes, or intermediate results of computations
- Number of flip-flops determines the number of bits it can store
Counters:
- Used to count the number of clock cycles or events in a system
- Can be synchronous or asynchronous
- Can count up, count down, or count up and down
- Used to generate a sequence of digital numbers or keep track of the number of times an event has occurred