From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 12:14:39 +0000 (+0100) Subject: convert gpio to getput X-Git-Url: https://git.libre-soc.org/?p=shakti-peripherals.git;a=commitdiff_plain;h=dc85aceb8b51272f48b9cf0b3059ae02124a1477 convert gpio to getput --- diff --git a/src/peripherals/gpio/gpio.bsv b/src/peripherals/gpio/gpio.bsv index 84e54be..ff7ab71 100644 --- a/src/peripherals/gpio/gpio.bsv +++ b/src/peripherals/gpio/gpio.bsv @@ -27,11 +27,11 @@ package gpio; interface GPIO_func#(numeric type ionum); (*always_ready,always_enabled*) - interface Put#(Vector#(ionum,Bit#(1)) gpio_in; + interface Put#(Vector#(ionum,Bit#(1))) gpio_in; (*always_ready*) - interface Get#(Vector#(ionum,Bit#(1)) gpio_out; + interface Get#(Vector#(ionum,Bit#(1))) gpio_out; (*always_ready*) - interface Get#(Vector#(ionum,Bit#(1)) gpio_out_en; + interface Get#(Vector#(ionum,Bit#(1))) gpio_out_en; endinterface interface GPIO_config#(numeric type ionum); (*always_ready*)