Re: [myhdl-list] List Of Constants
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-03-15 19:33:56
|
On 15/03/15 19:12, Josy Boelen wrote: > Henry Gomersall <heng <at> cantab.net> writes: > >> > >> >Hi Josy, >> > >> >Would you mind creating a gist (https://gist.github.com/ ) of this? > I'm >> >struggling to extract the lines from the email (it gets munged at >> >various points) >> > >> >Forgive me if I've missed something, are you trying to do something > more >> >involved that a LUT? I'm using lists of bools and ints with an index >> >referencing into them, which convert just fine, though it might not be >> >quite your problem. >> > >> >Cheers, >> > >> >Henry >> > > Henry, > > thanks for the attention, > I created a gist:https://gist.github.com/josyb/af6b7809d976b2559ae4 > > The_example_ is distilled from a RGB to YCrCb converter, but the method > will also be useful in convolution filters (edge detectors etc.) and > other matrix-like operations. I Josy, my apologies but I'm running short of time this evening, but at first glance is it not somewhat similar to this: https://github.com/hgomersall/Veriutils/blob/master/veriutils/hdl_blocks.py#L264 Cheers, Henry |