コミットを比較

...

2 コミット

作成者 SHA1 メッセージ 日付
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個のファイルの変更5行の追加4行の削除

サブモジュール fpga-shells が更新されました: 5bcc4e82fd...79b53cf2ae

サブモジュール rocket-chip が更新されました: 4ba8acb4aa...6df42fc360

ファイルの表示

@@ -55,9 +55,10 @@ class U500ML507DevKitFPGAChip(implicit override val p: Parameters)
GPIOPinsFromPort(gpio_pins, dut.gpio(0)) GPIOPinsFromPort(gpio_pins, dut.gpio(0))
gpio_pins.pins.foreach { _.i.ival := Bool(false) }
gpio_pins.pins.zipWithIndex.foreach { 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
} }
} }