Re: [myhdl-list] Concat with a constant
Brought to you by:
jandecaluwe
From: Henry G. <he...@ca...> - 2015-05-22 13:50:55
|
On 22/05/15 14:39, Josy Boelen wrote: > >> >Is there some neat way to concatenate a signal with a constant? >> > >> >Clearly, one can use ConcatSignal with a pair of signals, one of which >> >can be driven every cycle with a clock cycle, but this seems rather >> >inelegant (though I dare say it would be optimised out). >> > >> >Cheers, >> > >> >Henry > Hi Henry, > > 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? Henry |