From: Luke Kenneth Casson Leighton Date: Thu, 2 Aug 2018 09:30:38 +0000 (+0100) Subject: assign zero to temp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dac2798fce0a2725494051e363f870b4a7cc6dc0;p=shakti-peripherals.git assign zero to temp --- diff --git a/src/peripherals/sdram/sdr_top.bsv b/src/peripherals/sdram/sdr_top.bsv index 56677f8..d886fd5 100644 --- a/src/peripherals/sdram/sdr_top.bsv +++ b/src/peripherals/sdram/sdr_top.bsv @@ -770,7 +770,7 @@ module mksdr_axi4_slave#(Clock clk0) (Ifc_sdr_slave); interface osdr_den_n = interface Get method ActionValue#(Bit#(64)) get; - Bit#(64) temp; + Bit#(64) temp = 0; for (int i=0; i<8; i=i+1) begin temp[i*8] = sdr_cntrl.osdr_den_n[i]; end