TI C66x DSP 系统events及其应用 - 4.1(Exception Combiner)

本文详细介绍了INTC中断控制器的功能及组成模块,包括InterruptSelector、EventCombiner和ExceptionCombiner等,解释了如何通过这些模块实现systemevents向CPU中断和异常信号的转换。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我们知道INTC根据128个system event的输入,然后输出下面的信号到INTC所在corePac的CPU:

• One maskable, hardware exception (EXCEP)

• Twelve maskable hardware interrupts (INT4 through INT15)

• One non-maskable signal that you can use as either an interrupt or an exception (NMI)

• One reset signal (RESET)

在INTC中包含下面的模块,这些模块用于路由system event到CPU的中断与异常的输入:

The interrupt controller includes the following modules to facilitate the routing of events to interrupts and exceptions:

Interrupt Selector - routes any of the system events to the 12 maskable interrupts

Event Combiner - reduces the large number of system events down to four

Exception Combiner -lets any of the system events be grouped together for the single hardware exception input

CPU只支持一个硬件exception输入(即图中的EXCEP),Exception Combiner可将任何system events打包作为CPU单个硬件exception的输入,如在"TI C66x DSP 系统events及其应用-1"中讲到的上报内存保护问题的event(120~125)在实际应用中都作为了exception的输入,从而使CPU能够处理这些异常。这使得即使CPU仅有一个exception输入,但CPU也可以处理所有可用的system events。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值