Image

cs501 gdb Solution


cs501 gdb Solution, cs501 gdb Solution 2020, cs501 gdb 2020,


cs501 gdb solution


cs501 gdb


cs501 gdb


cs501 gdb


cs501 Solution No 1 07-02-2020


In my point of view, I will suggest Simple Instruction Set vs
Complex Instruction Set design characteristics for the above given
scenario. As main constraints are memory cost and processing
overhead so Simple Instruction Set vs Complex Instruction Set will
be the best choice for the proposed processor.

RISC architecture design significantly streamline and accelerate data
processing by minimizing the number of instructions permanently stored
in the microprocessor.

In RISC machine cycle is already defined i.e. one, so it fetches the
instruction quickly but in CISC instruction set multiple machine cycle is
present that's why it takes more time to execute.

By having smaller and simpler instruction decode units, RISC
processors have fast instruction execution, and this also reduces the
size and power consumption of the processing unit. Generally, RISC
instructions will take only one or two cycles to execute.

CISC has a memory unit to implement complex instructions. This had
the advantage of making the job of the assembly-language programmer
easier, since you had to write fewer lines of code to get the job done.

As memory was slow and expensive, it also made sense to make each
instruction do more. This reduced the number of instructions needed to
perform a given function, and thereby reduced memory space and the
number of memory accesses required to fetch instructions.


VU Subjects Available List

Available Subjects List

Join Chat Room

Join Chat

Join our FB Group For VU help

Join VU Group

cs501 Solution No 2 07-02-2020



Being a student of computer architecture, you have been tasked to suggest a processor architecture for which the main constraints are memory cost and processing overhead. Which of the below given design characteristics will you consider for the proposed processor keeping into view the above- mentioned design constraints?
1. Fixed length instructions vs Variable length instructions.
2. Large cache blocks vs small cache blocks.
3. Simple instruction set vs complex instruction set.
Give your comments with proper justification for selecting each of the given characteristics.

1. Fixed length instructions vs Variable length instructions.
Fixed length instructions:-
1.All the records in the file are of same size.
2. Leads to memory wastage.
3. Access of the records is easier and faster.
4. Exact location of the records can be determined: location of its record would be.n*(i-1), where n is the size of every record.

Variable length instructios:-
1.Different records in the file have different sizes.
2. Memory efficient.
3. Access of the records is slower.

2.Large cache blocks vs small cache blocks.
The "largest" block size case is best for repeated, in-order memory accesses (best for spacial locality) and worst for repeated, random memory accesses (worst for temporal locality).
The "smallest" block size case is worst for repeated, in-order memory accesses (worst for spacial locality) and best for repeated, random memory accesses (best for temporal locality). It is good for out-of-order memory accesses, depending on the size of the working set
3. Simple instruction set vs complex instruction set
Characteristic of Simple instruction set:
The simple instruction set provides commands to the processor, to tell it what it needs to do. The instruction set consists of addressing modes, instructions, native data types, registers, memory architecture, interrupt, and exception handling, and external I/O.
Characteristic of Complex instruction set:
1. Complex instruction, hence complex instruction decoding.
2. Instruction are larger than one word size.
3. Instruction may take more than single clock cycle to get executed.
4. Less number of general purpose register as operation get performed in memory itself.
5. Complex Addressing Modes.
6. More Data types.



VU cs501 gdb solution


cs501 gdb solution


cs501 gdb solution


cs501 gdb solution

Virtual University 07-02-2020 04:53:09pmView: 1362

Categories: Virtual University

Comments

Leave a comment