1
0

Fix polarity of buttons and dips on the ml507

This commit is contained in:
Klemens Schölhorn 2018-04-19 01:28:36 +02:00
parent f4ae1d469f
commit 5db71d11c2

View File

@ -72,20 +72,20 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
val sdio_dat = IO(Analog(4.W))
//Buttons
val btn_0 = IO(Analog(1.W))
val btn_1 = IO(Analog(1.W))
val btn_2 = IO(Analog(1.W))
val btn_3 = IO(Analog(1.W))
val btn_0 = IO(Input(Bool()))
val btn_1 = IO(Input(Bool()))
val btn_2 = IO(Input(Bool()))
val btn_3 = IO(Input(Bool()))
//Sliding switches
val sw_0 = IO(Analog(1.W))
val sw_1 = IO(Analog(1.W))
val sw_2 = IO(Analog(1.W))
val sw_3 = IO(Analog(1.W))
val sw_4 = IO(Analog(1.W))
val sw_5 = IO(Analog(1.W))
val sw_6 = IO(Analog(1.W))
val sw_7 = IO(Analog(1.W))
val sw_0 = IO(Input(Bool()))
val sw_1 = IO(Input(Bool()))
val sw_2 = IO(Input(Bool()))
val sw_3 = IO(Input(Bool()))
val sw_4 = IO(Input(Bool()))
val sw_5 = IO(Input(Bool()))
val sw_6 = IO(Input(Bool()))
val sw_7 = IO(Input(Bool()))
//-----------------------------------------------------------------------