JulianKemmerer / PipelineC

A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.
https://github.com/JulianKemmerer/PipelineC/wiki
GNU General Public License v3.0
607 stars 50 forks source link

Create pragmas that can set command line options #91

Open JulianKemmerer opened 2 years ago

JulianKemmerer commented 2 years ago

Opposite to https://github.com/JulianKemmerer/PipelineC/issues/79 where it is requested that command line arguments be able to set pragmas ...do the reverse as well. Allow pragmas in code to specify things from command line args as well...

Ex. something like #pragma SIM VERILATOR MAIN_CPP /path/to/your/main.cpp As opposed to command line options --sim --verilator --main_cpp /path/to/your/main.cpp