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
606 stars 50 forks source link

FSM style generated code can mangle struct references #169

Closed JulianKemmerer closed 1 year ago

JulianKemmerer commented 1 year ago

If have an input to function foo called req

And also unrelated nested struct expression thing.field.req.other.etc

Might be mangled to like

thing.field.foo_req.other.etc

JulianKemmerer commented 1 year ago

Fixed in https://github.com/JulianKemmerer/PipelineC/commit/deb8899942db903124c175a42c4ee4beaca7a610