2012/2/22 Julius Baxter <[email protected]>:
> On Tue, Feb 14, 2012 at 10:04 PM, Olof Kindgren <[email protected]> 
> wrote:
>> 2012/2/14 Ouabache Designworks <[email protected]>:
>>>
>>>
>>> On Tue, Feb 14, 2012 at 1:15 PM, Olof Kindgren <[email protected]>
>>> wrote:
>>>>
>>>>
>>>>
>>>> Missed that one, as parameter aw defaults to 32 bits. Not sure if all
>>>> tools can handle parameterized widths however, so it migh be best to
>>>> leave that one alone
>>>>
>>>> --
>>>> Olof Kindgren
>>>
>>>
>>>
>>> This usually works when you have to set it all to the same bit value.
>>>
>>> {aw{1'b0}}
>>>
>>>
>>> maybe try  {{aw-1{1'b0},1'b1}  ?
>>>
>>> John Eaton
>>>
>>
>> Ahh.. that's a good workaround that, and it will allow me to fix a
>> couple more similar problems that use defines to set the width.
>>
>> Can this be applied as it is, though? I can hunt down the remaining
>> problems in a separate patch
>
> I reckon your patch looks good Olof.
>
> Julius

Great. I will push this later today then if no one else beats me to it

Patches for more implicit width fixes are most welcome

-- 
Olof Kindgren
______________________________________________
ORSoC
Website: www.orsoc.se
Email: [email protected]
______________________________________________
FPGA, ASIC, DSP - embedded SoC design
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to