hammer icon indicating copy to clipboard operation
hammer copied to clipboard

Is it possible to just re-dump the synthesis outputs?

Open jwright6323 opened this issue 6 years ago • 6 comments

If not, can we add an argument to cli_driver?

jwright6323 avatar Feb 21 '19 04:02 jwright6323

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.

edwardcwang avatar Feb 21 '19 05:02 edwardcwang

Do you have to re-run synthesis?

jwright6323 avatar Feb 21 '19 05:02 jwright6323

If you already ran synthesis, the syn-output.json file should be there already, so no need to run it again.

edwardcwang avatar Feb 21 '19 05:02 edwardcwang

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.

jwright6323 avatar Feb 21 '19 05:02 jwright6323

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.

edwardcwang avatar Feb 21 '19 06:02 edwardcwang

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.

abejgonzalez avatar Aug 12 '19 18:08 abejgonzalez