摘要
为提升操作系统的实时性,对PPC460处理器进行硬件加速处理。采用FPGA对PPC460处理器架构进行核心代码移植,修改原有SRAM空间为DPRAM并进行加固处理,增加任务控制块(task control block,TCB)模块精准定位和监控任务状态及堆栈信息,在操作系统发生任务调度时,将原有串行压栈出栈模式修改为并行同时进出栈模式。测试结果表明:该方法有效实现了针对PPC460处理器的任务切换亚微秒设计,处理复杂应用的实时性与抗干扰能力得到极大提升。
In order to improve the real-time performance of the operating system, the PPC460 processor is accelerated by hardware. The core code of PPC460 processor architecture is transplanted by using FPGA, the original SRAM space is modified to DPRAM and reinforced, the task control block(TCB) module is added to accurately locate and monitor the task status and stack information, and the original serial push stack and pop stack mode is modified to parallel simultaneous in and out stack mode when the task scheduling occurs in the operating system. The test results show that the method effectively realizes the sub microsecond design of task switching for PPC460 processor, and greatly improves the real-time and anti-interference ability of processing complex applications.
作者
杨渊
邹祖伟
Yang Yuan;Zou Zuwei(Institute of Electronic Engineering,China Academy of Engineering Physics,Mianyang 621999,China)
出处
《兵工自动化》
2022年第7期25-28,共4页
Ordnance Industry Automation
基金
国防科工局基础科研项目。
关键词
任务切换亚微秒
实时操作系统
硬件加速
PPC460处理器
sub microsecond task switching
real-time operating system
hardware acceleration
PPC460 processor