Increase gpio width to 8
This commit is contained in:
		| @@ -30,7 +30,7 @@ class U500ML507DevKitPeripherals extends Config((site, here, up) => { | ||||
|   case PeripherySPIKey => List( | ||||
|     SPIParams(rAddress = BigInt(0x64001000L))) | ||||
|   case PeripheryGPIOKey => List( | ||||
|     GPIOParams(address = BigInt(0x64002000L), width = 4)) | ||||
|     GPIOParams(address = BigInt(0x64002000L), width = 8)) | ||||
|   case PeripheryMaskROMKey => List( | ||||
|     MaskROMParams(address = 0x10000, name = "BootROM")) | ||||
| }) | ||||
|   | ||||
| @@ -60,9 +60,6 @@ class U500ML507DevKitFPGAChip(implicit override val p: Parameters) | ||||
|     gpio_pins.pins.zipWithIndex.foreach { | ||||
|       case(pin, idx) => led(idx) := pin.o.oval | ||||
|     } | ||||
|  | ||||
|     // tie to zero | ||||
|     for( idx <- 7 to 4 ) { led(idx) := false.B } | ||||
|   } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user