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

Clean gen-collateral directory on builds #1341

Closed
3 tasks done
jerryz123 opened this issue Feb 13, 2023 · 1 comment
Closed
3 tasks done

Clean gen-collateral directory on builds #1341

jerryz123 opened this issue Feb 13, 2023 · 1 comment
Assignees
Labels

Comments

@jerryz123
Copy link
Contributor

Background Work

Chipyard Version and Hash

Release: dev
Hash: f2dfd29

OS Setup

Millennium

Other Setup

No response

Current Behavior

New verilog/cc/h files are added to gen-collateral on RTL builds. Existing files are overwritten if the name matches, but preserved otherwise.

This causes issues for flows which read all files from gen-collateral, since changing a RTL config may not cause files to be deleted from that directory.

For example, building a UART-enabled design dumps SimUART.v into that directory. But then, after I modify that config to remove the UART, SimUART.v is not removed from that directory.

Expected Behavior

The contents of gen-collateral should be deleted before adding new files to it.

Other Information

No response

@jerryz123 jerryz123 added the bug label Feb 13, 2023
@jerryz123 jerryz123 changed the title Regenerate gen-collateral directory on builds Clean gen-collateral directory on builds Feb 13, 2023
@jerryz123
Copy link
Contributor Author

Resolved by #1342

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

No branches or pull requests

2 participants