ikhayriyyah
12-17-2003, 05:48 AM
i have a question??? Say I have pc who's processor works at 400 MHz, is not pipelines, and requires an average of 4 cycles to execute each instruction, has cache memory that takes 1 processor cycle with a miss ratio of 90%, when a cache miss occurs, it accesses regular memory, and each access takes 10 processor cycles, the processor contains 16 registers, and when interrupt occurs the processor saves all 16 registers onto the stack, all the sensors are connected to I/O controllers, and every time a sensor detects a failure condition, it instantly activates a bit inside the I/O controller, which passes on this condition on an interrupt signal that goes to the PIC(interrupt prioroty encoder
), then to the processor. The key requirement that i want of this system is that the time taken by the processor to respond to a sensor "failure condition" signal and execute the first instruction of the interrupt routine associated with that sensor must take less than 1 micro second. Does this pc system satisfy this requirement??? can you help me understand why??? i'm confused
), then to the processor. The key requirement that i want of this system is that the time taken by the processor to respond to a sensor "failure condition" signal and execute the first instruction of the interrupt routine associated with that sensor must take less than 1 micro second. Does this pc system satisfy this requirement??? can you help me understand why??? i'm confused