-
公开(公告)号:US06578123B1
公开(公告)日:2003-06-10
申请号:US08978169
申请日:1997-11-25
申请人: Charles C. Austin , Kevin Feshangchi , Jeff Harth
发明人: Charles C. Austin , Kevin Feshangchi , Jeff Harth
IPC分类号: G06F1200
CPC分类号: G06F12/0292 , G06F2212/206
摘要: Apparatus for flexibly locating the data page on which the peripheral registers are located. External hardware contentions are eliminated because the peripheral registers can be relocated anywhere in the system address space. Hardware design is therefore much more flexible. Further, because the present invention allows peripheral registers to overlay internal data memory, data transfers can be carried out between data and peripherals using the same data page pointer. No intermediate pointer loading operations are required and memory operations to the peripheral registers can be carried out at maximum speed. The present invention allows peripheral registers to overlay data memory in a manner that permits the overlaid memory to be recovered and used for other purposes. Processor program code can be designed to overlay internal data memory with the peripheral registers while performing data transfers between the data memory and the peripheral registers. The overlaid data memory is not accessible while it is overlaid. Then, after completing transfers, the peripheral registers can be relocated elsewhere so that the underlying internal data memory is recovered. The underlying data memory is not disturbed when writing to the overlaying peripheral registers.
摘要翻译: 用于灵活定位外围寄存器所在的数据页的装置。 外部硬件争用被消除,因为外围寄存器可以重新定位在系统地址空间的任何地方。 因此,硬件设计更加灵活。 此外,由于本发明允许外设寄存器覆盖内部数据存储器,所以可以使用相同数据页指针在数据和外设之间进行数据传输。 不需要中间指针加载操作,并且可以以最大速度执行对外设寄存器的存储器操作。 本发明允许外围寄存器以允许重叠的存储器被恢复并用于其他目的的方式覆盖数据存储器。 处理器程序代码可以设计为在数据存储器和外设寄存器之间执行数据传输时将内部数据存储器与外设寄存器进行重叠。 覆盖的数据存储器在重叠时不可访问。 然后,完成传输后,外设寄存器可以重新定位到其他位置,以便恢复底层的内部数据存储器。 写入覆盖的外设寄存器时,底层数据存储器不会受到干扰。