From 90404980b8941846f4372a85a9a489d1c52b641a Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Wed, 8 Nov 2017 15:15:32 -0800 Subject: [PATCH] GPIO: IOF should not override PUE and DS --- src/main/scala/devices/gpio/GPIO.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/scala/devices/gpio/GPIO.scala b/src/main/scala/devices/gpio/GPIO.scala index f598dbb..f5098cf 100644 --- a/src/main/scala/devices/gpio/GPIO.scala +++ b/src/main/scala/devices/gpio/GPIO.scala @@ -168,10 +168,10 @@ trait HasGPIOModuleContents extends MultiIOModule with HasRegMap { val swPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) // This strips off the valid. - val iof0Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) - val iof1Ctrl = Wire(Vec(c.width, new EnhancedPinCtrl())) + val iof0Ctrl = Wire(Vec(c.width, new IOFCtrl())) + val iof1Ctrl = Wire(Vec(c.width, new IOFCtrl())) - val iofCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) + val iofCtrl = Wire(Vec(c.width, new IOFCtrl())) val iofPlusSwPinCtrl = Wire(Vec(c.width, new EnhancedPinCtrl())) for (pin <- 0 until c.width) {