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

Add a additional_inputs=... or similar to verilator_cc_library #354

Open
filmil opened this issue Sep 20, 2024 · 0 comments
Open

Add a additional_inputs=... or similar to verilator_cc_library #354

filmil opened this issue Sep 20, 2024 · 0 comments

Comments

@filmil
Copy link

filmil commented Sep 20, 2024

Some verilog code, such as the serv core, uses $readmemh to read memory content to pre-fill memory arrays. This apparently happens at verilation step, making it necessary to provide the memory file to the verilator_cc_library rule at compile time.

While it is possible to provide additional files to verilator_library, such files become part of the runfiles, and are not available at build time.

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

1 participant