Module: IPXACT

Defined in:
lib/ipxact_tools.rb

Overview

The Tools module provides analysis tools for extracting or deducing relevant data from IP-Xact platforms. Three functionality are currently handled by the module:

  • It computes the shortest path between two component instances of a valid Platform instance.

  • It validates the data path by verifying that it does not contain any interrupt line, and emits a warning if several CPUs may contend for an access to the target component.

  • It deduces the target component’s base address from the data path (handling all address remaps and IP-Xact variables).

Because the IP-Xact standard does not include (yet) any formal way to distinguish interrupt lines from other communication channels, we try to identify those interrupt lines based on the different terms used for describing them. As a result, if the platform uses standard conventions for naming the interrupt line elements (esp. ports), such as ‘INT_xxx’, ‘INTERRUPT_xxx’, ‘IRQ’, ‘IRL’ etc., there is a high probability that our algorithm will be able to detect it.

NOTE Unfortunately, there is currently no way to select an alternate data path if the one provided by the pathfinding algorithm happens to be invalid. If this is a strong requirement, drop me a mail (guillaume dot godetbar at gmail dot com) and I will try to include it ASAP.

Author:

  • Guillaume Godet-Bar

Defined Under Namespace

Modules: Tools