Re: [myhdl-list] List Of Constants
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2015-03-16 00:43:43
|
<snip> > > Any workaround is a good as any other workaround, but still is a > workaround. I just added the 4 (in my actual module, not the example) > constants in the call. Workaround was a poor choice or words in this case, it is an alternative method. Either way I don't think it was what you were looking for. > None of the workarounds can be classified as _pythonic_, I'd say. What > if I come up with a 8 * 8 constant matrix (like in JPEG DCT)? And it is > well supported in VHDL ... Either of those approaches, I would argue, are pythonic but they don't solve the problem you are trying to solve. A 1D list of constants should be convertible a 2D I believe is not. This (2D) is something that needs to be added. Regards, Chris |