kactus2/kactus2dev

SVD generator guidelines.

Opened this issue · 1 comments

Hello, I'm new to the IPXACT world and right now I'm using Kactus2 as a memory map visualization tool, while I'm slowly digging into all of its features. Right now I need to generate an SVD file for a microprocessor which includes a memory map of its peripherals. Since I'm using only the memory map 'field' of the IPXACT, I'm having trouble to understand which are the requirements for SVD generation. In particular, since I don't have a cpu element, I'm having the following error:
Screenshot from 2023-12-04 10-32-58

Is there any tutorial or guide to follow for svd generation?
Thank you!

Hi,

We are working on a set of tutorials, but right now there is no instructions on how to run the SVD generation. The error you are getting indicates you need a CPU element in your design. So, to elaborate on that: your microcontroller probably has a module that is the computation core and for that you should add a CPU element in the IP-XACT description in the component editor. The peripherals are their own components with the memory maps (and registers, fields etc.) and connect to the core somehow. The generator will check for the connectivity from the CPU core to the memory maps in the peripherals. In your case, the connection is not found and I guess the issue is that no component has a CPU defined.