diff venus/src/periph/keyswitch_wrap.v @ 50:3dbe73bbc0a4

Verilog src: preparations for adding the keypad
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Nov 2021 04:43:53 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/periph/keyswitch_wrap.v	Sat Nov 27 04:43:53 2021 +0000
@@ -0,0 +1,13 @@
+/* wrapper for the 4-pin tactile switch package */
+
+module keyswitch_wrap (side1, side2);
+
+input side1, side2;
+
+switch_4pin pkg (.pin_1(side1),
+		 .pin_2(side1),
+		 .pin_3(side2),
+		 .pin_4(side2)
+	);
+
+endmodule