高级检索

    嵌入式微处理器NCS保护方式的异常与中断研究

    RESEARCH ON EXCEPTION AND INTERRUPT OF EMBEDDED MICROPROCESSOR NCS IN PROTECTED MODE

    • 摘要: 保护方式下的异常与中断管理是微处理器设计的重要组成部分.文中探讨了异常与中断的数据结构、定义、表,给出了保护方式下的异常与中断管理算法;提出了异常/中断管理单元(EIMU)的细胞群结构,并指出细胞是异常/中断管理单元的基本测试单位;系统评价了任务门,中断门/陷阱门区别及优缺点.最后用EDA 工具MENTOR GRAPHICS对异常与中断管理单元及其算法的RTL级VHDL描述进行综合与仿真,验证了其正确性与有效性

       

      Abstract: After definition and data structure in exception/interrupt management are analyzed, an algorithm is given to deal with the exception/interrupt.In the algorithm there are two mechanisms to answer exception/interrupt: one is to utilize a trap/interrupt gate in current task, the other is to utilize a task gate in another task. As a results, exception or interrupt which can not be processed in current task may use task gate to handle in another task. On the other hand, a basic test unit cell is deduced to generate Boolean value for cell test to control branch in the microprogram. With cell extracted from the algorithm, a kind of cell group structure is put forward to establish exception/interrupt management unit (EIMU). The VHDL RTL description for EIMU and the algorithm is synthesized and simulated in MENTOR GRAPHICS and its simulation proves its validity.

       

    /

    返回文章
    返回