PipelineC icon indicating copy to clipboard operation
PipelineC copied to clipboard

How to combine multiple top level C files?

Open JulianKemmerer opened this issue 4 years ago • 2 comments

File level modules? extern things?

Each top level C file has N>=1 top level MAIN modules (with board io,etc).

Multiple instances of a collection of MAINs sounds smart to be able to package. Needed for complex multi clock domain stuff.

JulianKemmerer avatar Nov 14 '21 21:11 JulianKemmerer

pragmas for ports with sub-MAIN funcs. for two-func clock crossing 'instance of a file-module' - how to do clk crossing instances? macros?

JulianKemmerer avatar Nov 14 '21 21:11 JulianKemmerer

Static funcs? Unlike global functions in C, access to static functions is restricted to the file where they are declared

JulianKemmerer avatar Feb 02 '22 16:02 JulianKemmerer