newStep.v

This commit is contained in:
kaltinsoy committed 2025-11-27 04:28:54 +03:00
1 parent a84b8fcfde
commit 6e38a6c1af
85 files changed
+25646 -6801

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// femtorv32, a minimalistic RISC-V RV32I core
// Bruno Levy, 2020-2021
//
// This file: driver for the buttons (does nearly nothing,
// could include some filtering here).
module Buttons(
input wire sel, // select (read/write ignored if low)
output wire [31:0] rdata, // read data
input wire[5:0] BUTTONS // the six pins wired to the buttons
);
assign rdata = (sel ? {26'b0, BUTTONS} : 32'b0);
endmodule