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

Allow Elaboration without addrmap #195

Open
EAlexJ opened this issue Dec 6, 2023 · 1 comment
Open

Allow Elaboration without addrmap #195

EAlexJ opened this issue Dec 6, 2023 · 1 comment

Comments

@EAlexJ
Copy link

EAlexJ commented Dec 6, 2023

It would be handy to allow other nodes than addrmaps to be the top most nodes. At the moment, inputting a file that does not contain an addrmap throws a fatal error. This is limiting when it comes to generating output from regfiles definitions. For example creating headerfiles should not require the input of an addrmap.

I considered writing an importer that would allow this by wrapping the regfile in a dummy addrmap, but wanted to discuss this anyway. Is this the way a situation like mine is supposed to be handled?

@EAlexJ EAlexJ changed the title Allow Elaboration without addrmap [FEATURE] Allow Elaboration without addrmap Dec 6, 2023
@EAlexJ
Copy link
Author

EAlexJ commented Dec 6, 2023

I noticed that the definition does not represent an instance and I assume that an instance requires an addressmap.

This would mean that the importer is the way to solve this, as the compiler itself has no use for definitions only.

Is my assumption correct?

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

No branches or pull requests

1 participant