Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVD generator guidelines. #92

Open
CalamaroS opened this issue Dec 4, 2023 · 1 comment
Open

SVD generator guidelines. #92

CalamaroS opened this issue Dec 4, 2023 · 1 comment

Comments

@CalamaroS
Copy link

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!

@epekkar
Copy link
Collaborator

epekkar commented Dec 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants