Saturday, August 1, 2009

Interrupt Sequence Generators

Before I begin writing on interrupt generators I would like to quote an anecdote about relay project that I tried to do when I was in college, We had organized quiz competition in our college on behalf of IEEE, and wanted buzzer or some kind of circuit to know who first raised their hand. I had come up with a small priority decoder, made up of simple gates assembled on bread board. Circuit connected to simple 5 push-buttons as input and 5 bulbs as output. whenever any button is pressed it will glow the corresponding bulb and block the circuit so that no other bulb is activated. At the end we could not deploy it at the competition because of multiple reasons like safety, reset etc.
Above circuit was plane combinational circuit but We can extrapolate the example to explain what are interrupts. Consider processor is doing normal calculations, whenever you press that button You want system to capture current time and flash it on the board. Signal that indicated button was pressed is nothing but interrupt. In POWER architecture we have three types of Interrupts.
  • Non-critical
  • critical
  • Machine check
Well we will not discuss about Specific interrupt here. Rather we will discuss about Generating Sequences in System verilog to test different scenarios of interrupt.

Will be continued and edited .......