PipelineC
PipelineC copied to clipboard
Explore better syntax using variables as implicit function names
As show in https://github.com/JulianKemmerer/PipelineC/issues/87 it is possible to use variable names as functions (and arrays)...
uint32_t x;
...
uint1_t b = x[3]; // Fourth bit of x(31 downto 0)
uint16_t y = x(15, 0); // (15 downto 0) 16b slice of x
Explore using this style for better syntax when doing things related to variables - ex. helper functions for BRAM read/write - maybe for FIFO/clock crossing syntax too? :nerd_face: