Initial commit. Working CPU!

This commit is contained in:
2018-06-05 00:06:45 -07:00
commit 6bceee5e68
6 changed files with 178 additions and 0 deletions

6
mux2.sv Executable file
View File

@@ -0,0 +1,6 @@
module mux2 #(width=32)
(input logic [width-1:0] left, right,
input logic select,
output logic [width-1:0] out);
assign out = select ? right : left;
endmodule