What Is Dma? Function? Wat If No Dma?
What Is Dma? Function? Wat If No Dma?
power on sequence
When we power on the PC the power supply unit take some time to generate sufficient
power. The processor will be in reset state initially and it exits from reset state when it receives
the power good signal from the power supply unit. Then the processor is pre-programmed to
look at FFFF0h location where a jump instruction to the address where BIOS program is stored.
It executes BIOS- initializing hardware components like video card, memory, keyboard and
mouse. It checks for them and gives a beep if it finds an error. The information is displayed on
the screen as well. If there is no error then it looks for the operating system. If it finds it, it loads
it and runs it.
interrupts and polling
Polling is continuously sampling the status register of a device to know if a transaction is
done or not. During this time the processor does nothing but checking the status which is a pure
waste of time. This is where interrupts come into picture. When interrupts are used processor no
longer spends time to determine if the transaction is done or not. The device sends an interrupt
signal to ask the processor for attention. Until the interrupt is enabled the processor can do other
tasks.
1) What is pipelining?
It is an implementation technique in which multiple instructions are overlapped in
execution. The throughput of an instruction pipeline is the measure of how often an instruction
exists the pipeline. Pipeline does not reduce the latency. It improves instruction throughput.
2) What are the five stages in a DLX pipeline?
Fetch, read registers while decoding, execute the operation, access an operand in
memory, writeback the result into a register
3) For a pipeline with 'n' stages, what is the ideal throughput? What prevents us from
achieving this ideal throughput?
The throughput must be n instructions as each stage is not perfectly balanced and the
overhead.
5) Instead of just 5-8 pipe stages why not have, say, a pipeline with 50 pipe stages?
penalty
6) What are Branch Prediction and Branch Target Buffers?
no of flipflops-no of states
setp and hold time
fsm-mealy and moore
perl
Pipeline
CPU architecture
Virtual memory
Cache coherence protocols
Cache write policies
FSM
PCI
PCIX
Arrandale
Sandybridge
Generations of CPU-how they are different and what is the change in the architecture
between each other.