From: Luke Kenneth Casson Leighton Date: Tue, 24 Jul 2018 08:08:01 +0000 (+0100) Subject: reformat header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d61afe002fd89e99df51bec424561e1dc9c6324;hp=c4efa63c0a1cf95a7d470457caf254f0e6e3e7e9;p=shakti-peripherals.git reformat header --- diff --git a/src/peripherals/spi/spi.bsv b/src/peripherals/spi/spi.bsv index 6c3c13f..8dd0dc2 100644 --- a/src/peripherals/spi/spi.bsv +++ b/src/peripherals/spi/spi.bsv @@ -79,7 +79,11 @@ package spi; endinterface; interface io_in = interface Put method Action put(Bit#(2) in); - Bit(#4) temp = { 0, 0, in[1], in[0] }; + Bit(#4) temp; + temp[3] = 0; + temp[2] = 0; + temp[1] = in[1]; + temp[0] = in[0]; qspi.out.io_in(temp); endmethod endinterface;