update sdcard_dummy to get/put style interface
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 12:03:52 +0000 (13:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 12:03:52 +0000 (13:03 +0100)
src/peripherals/sdmmc/sdcard_dummy.bsv

index dbe136cadc305aa3d94da4ccd5538e0a53298a62..823394b2dc8880e2bcc4c90cf5de66995e1744b1 100644 (file)
@@ -61,7 +61,7 @@ package sdcard_dummy;
       Reg#(Bit#(1)) rg_cmd <- mkReg(0);
       Reg#(Bit#(1)) rg_clk <- mkReg(0);
       Reg#(Bit#(`SDBUSWIDTH)) rg_out <- mkReg(0);
-      Reg#(Bit#(`SDBUSWIDTH)) rg_outen <- mkReg(0);
+      Reg#(Bit#(`SDBUSWIDTH)) rg_out_en <- mkReg(0);
       Reg#(Bit#(`SDBUSWIDTH)) rg_in <- mkReg(0);
 
       interface cmd = interface Get