convert pwm to get/put
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 11:04:41 +0000 (12:04 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 11:04:41 +0000 (12:04 +0100)
src/peripherals/pwm/pwm.bsv

index 2f172e69771d18212250ccd35f1842331e8bbc64..fad645a0d62f21ddbca91ab019d8512b1f00ed5e 100644 (file)
@@ -255,7 +255,7 @@ package pwm;
       endmethod
     endinterface;
     interface io = interface PWMIO
-      interface sout = interface Get
+      interface pwm_o = interface Get
         method ActionValue#(Bit#(1)) get;
           return pwm_output_enable==1?pwm_signal:0;
         endmethod