Re: [myhdl-list] Array of constants and code generation
Brought to you by:
jandecaluwe
From: Thomas H. <th...@ct...> - 2015-06-02 11:37:39
|
Am 02.06.2015 um 12:55 schrieb Josy Boelen: > > This converts: [...] > By introducing the variable *aa* and coercing *angles* into a tuple we > get plausible VHDL code. > I agree that *indexing an array of constants* would looks nice, and > probably is what you expected. But I'm almost 100% sure the > synthesizer/mapper will generate the same element usage for both. Cool! Thanks for this trick. > I had to disable the print statement as that doesn't convert when using > parenthesis and without it will emit writelines, which is probably not > intended either. Sure. > Regards, > > Josy Thanks again, Thomas |