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 -- 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
