Font Size: a A A

Design And Verification The Mechanism Of Inter-interrupt Handled Of X Microprocessor

Posted on:2007-05-05Degree:MasterType:Thesis
Country:ChinaCandidate:H J WangFull Text:PDF
GTID:2178360215970043Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Interrupt is a kind of very basic operation in microprocessor. When interrupts including all kinds of exceptions happen, handling of exceptions not only changes the order of instruction's normal executing but also needs related processing operations such as protecting the state of microprocessor, exception nesting, recovery of the system state, priority judging, addressing the exception handling programs and so on. With the improvement of complexity of interrupt in microprocessor, it obviously becomes a more difficult problem that how to handle exceptions effectively.The paper designed the mechanism of inter-interrupt handled of X microprocessor based on researching deeply the architecture of X microprocessor which could work in real-mode, protected-mode, system management mode (SMM) or virtual 8086 mode. The mechanism was divided into three parts which are exception-vector-number generated module, address-calculation module and exception-control module. In my design, in order to addressing rapidly, the mechanism obtained the vector number through two-level ROM coupling way, Increasing CS and IP's counterpart which are little cost reduce the time of exceptions handled. The flexibility of interrupt handled was improved via adopting micro-program. In order to verify the inter-interrupt handled mechanism, the paper builds system-level verification flat. After verifications about every kind of exception-handle process in different operation modes of X microprocessor, the result indicated that the mechanism satisfied the demands of design.The design has implemented in X microprocessor with good effect.
Keywords/Search Tags:interrupt, exception, soft interrupt, exception handled program, interrupt respond, exception nesting
PDF Full Text Request
Related items