hammer
hammer copied to clipboard
Is it possible to just re-dump the synthesis outputs?
If not, can we add an argument to cli_driver?
Out of the box Hammer's CLIDriver dumps syn-output.json
in the syn rundir (and same for par):
https://github.com/ucb-bar/hammer/blob/4ab0fac/src/hammer-vlsi/hammer_vlsi/cli_driver.py#L316
Let me know if this does/doesn't address your usecase.
Do you have to re-run synthesis?
If you already ran synthesis, the syn-output.json
file should be there already, so no need to run it again.
I understand that, this is for development. If I change something that would change it, it would be nice to not have to re-run synthesis. I think this is more useful if you're using syn-output-full.json
, but I'm not, so this is not high priority.
Hmm, if I've understood you correctly, you're looking for a mock synthesis run that dumps the updated JSON as if the tool ran, but without the tool actually running? Seems like this would be useful if one was debugging the synthesis tool output.
On a side note: one option if one is debugging the synthesis tool outputs is to use mocksynth
since that doesn't run a real tool.
As mentioned in the closed issue. This would be helpful to debug PAR issues by changing the yml
file and getting an updated json
for PAR.