Re: [myhdl-list] Thanks for MyHDL & PLL's
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2016-02-29 21:29:55
|
On 2/25/2016 4:46 PM, Mr C Camacho wrote: > > mind I have noticed some oddities for example comparing list/tuple > intbv elements with a intbv is still defeating me... I guess I'm > still trying to get my head round the subtleties ! It might be worthwhile reviewing the a couple of the conversion sections - how the list-of-signals and list-of-tuples is mapped for conversion: http://docs.myhdl.org/en/stable/manual/conversion_examples.html#ram-inference http://docs.myhdl.org/en/stable/manual/conversion_examples.html#rom-inference For the ROM, often you need to get the item from the ROM first before. The following is a demonstration, the first compare doesn't convert the second does https://gist.github.com/cfelton/d9d6bf4f6ff4c4afbed2 Regards, Chris |