What Are The Basic Components in A Microprocessor
What Are The Basic Components in A Microprocessor
Microprocessor?
1,address lines to refer the addresse of a block.
2,data lines for data transfer.
3,ic chips 4processingdata.
1. Structural Hazards: It arise from resource conflicts when the hardware cannot support
all possible combinations of instructions simultaniously in ovelapped execution.
3. Control Hazards: It arise from the pipelining of branches and other instructions that
change the PC.
1. Structural Hazard: This arise when some functional unit is not fully pipelined. Then the
sequence of instructions using that unpipelined unit cannot proceed at the rate of one
one per clock cycle. Another common way that it may appear is when some resources are
not duplicated enough to allow all combination of instructionsin the pipeline to execute.
So by fully pipelining the stages and duplicating resouces will avoid structural pipeline.
3. Control Hazards: They are also know as Branch Hazards. The simplest scheme to
handle branches hazard is to freeze or flush the pipeline, holding or deleting any
instructions after the branch until the branch destination is known. In this case branch
penalty is fixed and cannot be reduced by software. The other scheme is predicted-not-
taken or predicted-untaken and delayed branch.
What is MESI?
What?s the difference between Write-Through and
Write-Back Caches? Explain advantages and
disadvantages of each.
Cache coherence refers to the integrity of data stored in local caches of a shared
resource. Cache coherence is a special case of memory coherence. When clients in a
system, particularly CPUs in a multiprocessing system cache occurs.
Snarfing is where a cache controller watches both address and data in an attempt to
update its own copy of a memory location when a second master modifies a location in
main memory