Jämför commits

...

2 Incheckningar

Upphovsman SHA1 Meddelande Datum
e57dfd0f63 Update rocket-chip to fix rom generation 2018-05-01 00:11:11 +02:00
df44d1a3bc Make DIP switches available as GPIO register 2018-05-01 00:09:14 +02:00
3 ändrade filer med 5 tillägg och 4 borttagningar

Visa fil

@@ -55,9 +55,10 @@ class U500ML507DevKitFPGAChip(implicit override val p: Parameters)
GPIOPinsFromPort(gpio_pins, dut.gpio(0))
gpio_pins.pins.foreach { _.i.ival := Bool(false) }
gpio_pins.pins.zipWithIndex.foreach {
case(pin, idx) => led(idx) := pin.o.oval
case(pin, idx) =>
pin.i.ival := dip(idx)
led(idx) := pin.o.oval
}
}