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 _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
