create input/output interfaces
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user