Re: Concat with a constant

Jan Decaluwe <[email protected]>
Newsgroups gmane.comp.python.myhdl
Organization resources
Message-ID <[email protected]>
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


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.