How to support HDL style generics/parameterized types+functions, etc? #213
Replies: 3 comments
-
This could be literally implemented with VHDL generics somehow but it doesn't need to be an exact copy of the functionality |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hey there @bartokon - something like you suggest is exactly what I want - but is not quite clear how to get there yet. Maybe its faking it by sending C++ code with templates and stuff ex. Interesting to mention wanting to change something like a bit width - in a block diagram for example. Pipelining wise, the PipelineC tool produces hardware to meet timing for a specific known/fixed bit width/i.e some fixed logic - if that width changes the design may no longer meet timing :-/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Seed from my todo list:
Basic versions of this can be done with preprocessor but probably want something better
suarezvictor mentioned used C++ with LLVM to generate C code perhaps 👍
Beta Was this translation helpful? Give feedback.
All reactions