diff --git a/IO/keyboard.sv b/IO/keyboard.sv new file mode 100644 index 0000000..519378c --- /dev/null +++ b/IO/keyboard.sv @@ -0,0 +1,15 @@ +package keyboard ( + output [15:0]out +); + +//TODO: attach the physical keyboard to the hdl keyboard using iverilog + +case(out) + 1 : + out = 15'b0000000000000001; + break + default: + 0 : + out = 15'b0000000000000000; + break; +endcase \ No newline at end of file diff --git a/IO/screen.sv b/IO/screen.sv new file mode 100644 index 0000000..9467a6c --- /dev/null +++ b/IO/screen.sv @@ -0,0 +1,12 @@ +package screen ( + input [15:0]in, + input load, + input [12:0]address + output [15:0]out +); + +//wire [8192:0] screenArray; + +if (load==1) begin + out = in; +end \ No newline at end of file