From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 12:18:33 +0000 (+0100) Subject: convert gpio to getput X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0ee566a4f507c76528d542788f420d6c5aa34af;p=shakti-peripherals.git convert gpio to getput --- diff --git a/src/peripherals/gpio/gpio.bsv b/src/peripherals/gpio/gpio.bsv index c43c23e..64f76fc 100644 --- a/src/peripherals/gpio/gpio.bsv +++ b/src/peripherals/gpio/gpio.bsv @@ -193,7 +193,7 @@ package gpio; endmethod endinterface; interface gpio_out = interface Get#(ionum) - method Vector#(ionum_,Bit#(1)) get; + method ActionValue#(Vector#(ionum_,Bit#(1))) get; Vector#(ionum,Bit#(1)) temp; for(Integer i=0;i