stanford-ppl / spatial-lang

Spatial: "Specify Parameterized Accelerators Through Inordinately Abstract Language"
MIT License
100 stars 12 forks source link

Automatically Add "--help" to Generated Code #254

Closed mattfel1 closed 6 years ago

mattfel1 commented 6 years ago

Sometimes I have old bitstreams or my spatial app changes between when I start compilation and when I am ready to run the app. I forget what the command line args were so it would be useful and easy to allow the user to run any app with "--help" and have it print at least the names of each command line input arg. I will add this to sim and synth. Maybe in the future we can let the user add comments or info to the input args and have that print also

mattfel1 commented 6 years ago

added on e598791719cc4b35aaa3b911aa0144aadcb509af