diff --git a/src/main/scala/shell/xilinx/ML507Shell.scala b/src/main/scala/shell/xilinx/ML507Shell.scala index f141e39..4a51bd4 100644 --- a/src/main/scala/shell/xilinx/ML507Shell.scala +++ b/src/main/scala/shell/xilinx/ML507Shell.scala @@ -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())) //-----------------------------------------------------------------------