-
Notifications
You must be signed in to change notification settings - Fork 923
[dvsim,hjson] Remove all dead code 'design_level' references/overrides #27486
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,4 @@ | |
| printf "<br>$REV_STR_FOUNDRY"; \ | ||
| fi | ||
| ''' | ||
|
|
||
| // The current design level | ||
| design_level: "ip" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,5 +13,4 @@ | |
| fusesoc_cores_root_dirs: ["--cores-root {proj_root}/hw"] | ||
| sv_flist_gen_dir: "{build_dir}/fusesoc-work" | ||
| sv_flist: "{sv_flist_gen_dir}/{fusesoc_core_}.scr" | ||
| sv_flist_gen_flags: ["--flag=fileset_{design_level}"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A curiosity: How should we document that this property exists, that it is an array of strings, and that it should be used to pass arguments to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm personally leaning towards leading by example here. Some pages documenting how this can be done, with example .hjson and accompanying comments. Maybe in the future a proper schema for dvsim .hjson would be a useful addition as well, but it is probably a bit too complex to decipher without a worked example or reference pointing to existing code. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably ought to move this to a less-generic property name, so people can override mappings more explicitly. Fine for now, though! (especially since there are only mappings here right now)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, maybe something like a
fusesoc_mapping_coreslist could be used, with the eval_cmd trick...