航空学报 > 2000, Vol. 21 Issue (2): 134-137

嵌入式微处理器NCS多任务管理单元MTU的研究

李树国1, 高德远1, 聂培琴2   

  1. 1. 西北工业大学航空微电子中心, 陕西西安 710072;2. 山东建筑材料工业学院信控系, 山东济南 250022
  • 收稿日期:1999-01-22 修回日期:1999-05-28 出版日期:2000-04-25 发布日期:2000-04-25

STUDY ON MULTITASK MANAGEMENT UNIT MTU OF EMBEDDED MICROPROCESSOR NCS

LI Shu-guo1, GAO De-yuan1, NIE Pei-qin2   

  1. 1. Aviation Microelectronic Center,Northwestern Polytechnical University, Xi'an\ 710072, China;2. Information & Control Department, Shandong University of Building Materials,Jinan\ 250022, China
  • Received:1999-01-22 Revised:1999-05-28 Online:2000-04-25 Published:2000-04-25

摘要:

确立了多任务管理单元 MTU的设计方案,探讨了多任务管理的定义、数据结构,给出了微处理器多任务切换算法,提出了多任务管理单元 MTU细胞群结构。细胞群结构由细胞组成,每个细胞可进行一种测试并输出测试的布尔值给微程序控制器来控制微程序的转移。多任务管理单元 MTU的 RTL级 VHDL描述经 EDA工具 MENTOR GRAPHICS的综合与仿真验证了多任务管理单元 RTL级 VHDL描述的正确性与有效性。

关键词: 多任务管理单元, 任务切换, 细胞, 指令周期

Abstract:

Multitask management unit (MTU) is a test unit which implements multitask management in a protected mode in microprocessors, and provides hardware support for tasks switch in microprocessor level. Firstly, a scheme for MTU is established, based on the scheme tasks switch algorithm given to switch tasks. Secondly, by analyzing the data structure and definition for multitask management, a kind of cell group architecture for MTU is put forward. The architecture consists of cells, each of which processes a kind of test and outputs Boolean value to microprogram controller. So an aim is achieved that the Boolean value of cell test in MTU may control microprogram branch. At last, the VHDL description of RTL level of MTU has been synthesized and simulated successfully in MENTOR GRAPHICS of EDA tools and its results of simulation prove MTU valid.

Key words: multitask management unit ( MTU), task switch, cell, instruction cycle