Archived
1
0

create input/output interfaces

This commit is contained in:
Erick
2022-03-27 14:36:36 +02:00
parent e9f9952bec
commit f078ff9552
2 changed files with 27 additions and 0 deletions
+15
View File
@@ -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
+12
View File
@@ -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