Re: [myhdl-list] intbv connections to/from instance array
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2012-10-11 15:58:29
|
On 10/11/2012 8:39 AM, Michael Babst wrote: > Thanks a lot, Chris, that works! > > Yes, I already fell into the trap of trying using lists at the top > level. I was hoping to use it to > model an array of N std_logic_vectors in VHDL. > > That led me to this simpler bit array <-> intbv problem. Based on > your solution, I created > two simple functions to make the connections: intvb2bool and > bool2intbv. The program > is attached. It is a little unsatisfying to have so much code for a > wire, but I suspect > that's why the shadow_signals were created. > > I appreciate the help with my noob questions as I become more familiar with the > nuances of this cool tool. > > Mike > > Not sure why the shadow signals didn't work. I haven't used shadow signals much. I will experiment with them some more and see if I can get it working or if there is a bug. Regards, Chris |