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
588 stars 47 forks source link

Allow operator overloading to work with derived FSM implementations #179

Open JulianKemmerer opened 1 year ago

JulianKemmerer commented 1 year ago

ex. wanting to have a FSM implementing the '+' operator.

right now derived FSMs assume built in operators are always combinatorial logic / not themselves FSMs...

Is complicated since havent parsed types to resolve if a particular '+' is the overloaded FSM version until having decided to parse the code as an FSM to begin with... :-/

Work around for now is to make wrapper functions for your operators...