On 10/31/12, Olof Kindgren <[email protected]> wrote: > Declare pcreg_boot before usage. This error was introduced in revision > 813 when some things were moved around > > Index: rtl/verilog/or1200_genpc.v > =================================================================== > --- rtl/verilog/or1200_genpc.v (revision 850) > +++ rtl/verilog/or1200_genpc.v (working copy) > @@ -265,6 +265,10 @@ > endcase > end > > + // select async. value for pcreg after reset - PC jumps to the > address selected > + // after boot. > + wire [31:0] pcreg_boot = boot_adr; > + > // > // PC register > // > @@ -289,10 +293,6 @@ > pcreg_default <= pc[31:2]; > end > > - // select async. value for pcreg after reset - PC jumps to the > address selected > - // after boot. > - wire [31:0] pcreg_boot = boot_adr; > - > always @(pcreg_boot or pcreg_default or pcreg_select) > if (pcreg_select) > // async. value is selected due to reset state
This should be fine. Cheers Julius _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
