PCI Express Switch Address Matching Using Segmented Limit Check
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional PCI Express switches face challenges in accommodating a large number of external devices due to the need for an exponentially increasing number of comparators and registers, leading to increased chip space usage, power consumption, and latency.
Innovation Solution
A method and apparatus for rapid address searching in a PCI Express serial switch that delays the limit address check until the base address check is made, using a data selector circuit and comparator to select and validate addresses, reducing the number of required comparators and registers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the number of external devices is increased, then the switching capability and adaptability are improved, but the number of comparators and registers must increase exponentially, leading to increased chip space usage, power consumption, and latency
Solution Approach 1:
The patent segments the address matching process into two distinct phases: base address comparison and limit address verification. By dividing the single large comparison task into smaller sequential steps, the system avoids the need for a large number of simultaneous comparators. The base address register array is searched first to identify potential matches, then only the limit addresses of matching entries are verified against the target address range, significantly reducing the total comparator count needed.
Solution Approach 2:
The patent performs preliminary filtering by comparing the target address against base addresses first, before conducting the more resource-intensive limit address verification. This preliminary action eliminates non-matching entries early in the process, so that subsequent limit address comparisons are only performed on a small subset of potential matches, rather than all address registers simultaneously.
2Measurement precision
If simultaneous limit address checking is performed with each base address comparison, then address validation accuracy is improved, but the number of comparators increases and latency is increased
Solution Approach 1:
The patent implements periodic action by performing limit address verification only at specific intervals - specifically, only when a base address match is found. Instead of continuously verifying every base address comparison, the system periodically checks limit addresses only for matching entries, reducing the overall verification frequency while maintaining accuracy for valid matches.
Solution Approach 2:
The base address comparison serves as a preliminary filtering step that identifies which entries require subsequent limit address verification. This preliminary action ensures that limit address checking is performed only when necessary, maintaining validation accuracy while minimizing the total number of comparisons and reducing latency.
3Adaptability or versatility
If more comparators are used to accommodate more external devices, then the switching capability is improved, but power consumption and chip space increase
Solution Approach 1:
The patent segments the address validation function across different circuit components performed at different times: base address comparison is performed by one set of circuits, and limit address verification is performed by separate circuits only when needed. This temporal and functional segmentation allows the system to support more external devices without proportionally increasing the number of active comparators, thus reducing power consumption.
Solution Approach 2:
The patent applies partial action by performing complete limit address verification only for base address matches, rather than verifying all address registers simultaneously. This partial verification approach provides sufficient addressing accuracy for the number of supported devices without the excessive power consumption that would result from full simultaneous verification of all address registers.
Data Source
AI summary
A device and method are disclosed for performing a limit address check validation in a switching device. The device includes a data selector circuit that is enabled to select the content of an address register in an array of address registers, and a comparator electrically coupled to the data selector circuit and enabled to take a first input from the data selector circuit and target address as a second input from a communication packet. The method includes receiving the target address, seeking and locating a matching address in an array of base address registers, directing the packet to the port associated with the matching address, determining the target address to be a valid address by comparing the target address with a limit address associated with the matching base address, and nullifying the match if the target address is greater than the limit address.


