tjroamer Posted August 5, 2016 Report Posted August 5, 2016 In our design, there are one processor, one bus and several peripherals. Is it possible to create a memory map from the master port to all of the slave ports of the peripherals? For different designs, the memory map should be different. Finally I want to generate information from IP-XACT files like the following: DesignCfg1: ARM.IAHB: Peri1.AHB: 0x2000_0000 - 0x2000_FFFF .... Perix.AHB: 0x3000_0000 - 0x3000_0FFF ARM.DAHB: Peri1.AHB: 0x4000_0000 - 0x4000_FFFF .... Perix.AHB: 0x4001_0000 - 0x4001_0FFF DesignCfg2: ARM.IAHB: Peri1.AHB: 0x1000_0000 - 0x1000_FFFF .... Perix.AHB: 0x2000_0000 - 0x2000_0FFF ARM.DAHB: Peri1.AHB: 0x3000_0000 - 0x3000_FFFF .... Perix.AHB: 0x3001_0000 - 0x3001_0FFF I cannot do that in the processor local address space, because the processor has to be instantiated many times with different address mappings to the master ports. In fact, this information belongs to design. Quote
tjroamer Posted August 23, 2016 Author Report Posted August 23, 2016 Is this a design flaw in the IP-XACT standard? I think address spaces should have belonged to "Design" top level element instead of "Component". What is the rational behind this design decision? Quote
kock Posted December 19, 2017 Report Posted December 19, 2017 Hello, Sorry for replying this late. The rational is that the global memory map is computed from the design connectivity. The components should be reusable. For instance, if you swap bus components with different addressing, then the cpu component should not be affected. Hence, the global memory map is not described in the cpu component. De cpu component only describe its addressable space and not what is all mapped into this space. Furthermore, the global memory map is independent of IP-XACT design configurations (unless the design configurations configure different hierarchical views). The design connectivity is described in IP-XACT designs. What you can describe, is that you have multiple hierarchical views in a component. These hierarchical views can reference different designs. However, the IP-XACT semantic consistency rules (SCR 11.3) state that the global memory maps for each bus interface in an hierarchy of bus interfaces must be equal. So you can describe the scenario mentioned in your email as long as the bus interfaces of the top component adhere to this rule. Best regards, Erwin Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.