Filtering device for processor presumed access and filtering method thereof based on address window
A filtering method and technology of filtering device, which are applied in the direction of machine execution device, electrical digital data processing, instrument, etc., to achieve the effect of increasing scalability, flexible configuration, and simplifying complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Such as figure 1 As shown, a processor speculative access filtering device based on an address window includes:
[0041] Address window configuration component 1, which stores one or more pieces of address window configuration information;
[0042] The access determination component 2, according to the address window configuration information stored in the address window configuration component 1, determines whether the access falls within the address window set by the address window configuration information;
[0043] The access filter 3 filters the access addresses that fall into the address window based on the access determination result.
[0044] Wherein, the address window configuration information in the address window configuration component 1 is organized in the form of a table to form an address window configuration information table. In this embodiment, the organization is preferably organized in the form of a fully associative lookup table, and each item of the full...
Embodiment 2
[0052] Such as figure 2 As shown, a processor speculative access filtering method based on an address window adopts the filtering device of the first embodiment and includes the following steps:
[0053] Step 10: Filter window configuration step, write the address window information that needs to be filtered and accessed into the address window configuration information, the writing process has no order requirements;
[0054] Step 20: Access determination step, for the access request transmitted to the external interface of the processor, it is determined whether the access address falls within the address window range;
[0055] Step 30: Access filtering step, to filter the access addresses in the address window.
[0056] Wherein, the address window configuration information in the step 10 is organized in the form of a fully associative lookup table, and each item of the fully associative lookup table corresponds to a piece of address window configuration information.
[0057] Wherein...
example 1
[0068] Example 1. Set two address windows: the first range is 0x00401300~0x004013ff, the second range is 0x04002080~0x040020ff. When configuring, store the configuration information of these two address windows in the first and second items of the address window configuration information table. For the first item, the first address, address mask and window enable three fields are sequentially addressed from 0 to 2. The three fields of the second item are addressed sequentially from 3 to 5. Take setting the first address field of the first window as an example, first write 0 to the special control register (address interface special register), that is, write the address of the first address field, and then write the special control register (data interface special register) Write 0x00401300, so the first item of the address window information configuration table is set to 0x00401300. Repeat this process until the remaining information of the two windows to be set is set.
[006...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 