PipelineC icon indicating copy to clipboard operation
PipelineC copied to clipboard

No support for passing preprocessor flags to tool

Open JulianKemmerer opened this issue 2 years ago • 2 comments

Ex. want to support like -DMYMACRO to preprocessor

JulianKemmerer avatar Mar 05 '22 00:03 JulianKemmerer

Add preprocess 'pp' command line arg like so?

--pp "-DMYMACRO" ?

JulianKemmerer avatar Mar 05 '22 00:03 JulianKemmerer

Currently the only "always supplied" preprocessor arg is __PIPELINEC__.

It feels like supporting a tool known __SIMULATION__ might be needed to signal parts of PipelineC code that should or shouldnt be simulated... really is only coming up from raw VHDL of manufacturer specific prims...

JulianKemmerer avatar Apr 24 '22 16:04 JulianKemmerer