Re: [myhdl-list] Concat with a constant
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2015-05-23 07:25:11
|
On 05/22/2015 04:10 PM, Josy Boelen wrote: > >>> >>> is it something like in (closed/rejected) PR #1: >>> https://github.com/jandecaluwe/myhdl/pull/1 >> >> Uhm possibly. I think it might be much simpler than that - using >> concat() on the RHS of an assignment (which I hadn't noted!). Is that >> possible? >> > > concat() didn't work for me ... but I had a slightly more complex > requirement: https://github.com/josyb/ControlStatus This was something I had promised to address in the way outlined in my replies. I have now committed a proposed enhancement that provides ConcatSignal() with and interface which is similar to concat() for constants, meaning one can use constrained intbv's, bools, and bitstrings expressed in a string. Documentation still to be updated. -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |