From 02097ff3b8b612d95bf3786c34237d5d6bbfeae3 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Tue, 12 Mar 2024 20:23:41 -0700 Subject: [PATCH] Update sd controller with data host --- hw/super6502_fpga/src/rtl/super_6502_fpga.sv | 6 +- hw/super6502_fpga/src/sub/sd_controller | 2 +- hw/super6502_fpga/super6502_fpga.xml | 171 ++++++++++--------- 3 files changed, 93 insertions(+), 86 deletions(-) diff --git a/hw/super6502_fpga/src/rtl/super_6502_fpga.sv b/hw/super6502_fpga/src/rtl/super_6502_fpga.sv index 8fa4b8d..93ed8e4 100644 --- a/hw/super6502_fpga/src/rtl/super_6502_fpga.sv +++ b/hw/super6502_fpga/src/rtl/super_6502_fpga.sv @@ -482,7 +482,11 @@ sd_controller_top u_sd_controller ( .i_sd_cmd(i_sd_cmd), .o_sd_cmd(o_sd_cmd), .o_sd_cmd_oe(o_sd_cmd_oe), - .o_sd_clk(o_sd_clk) + .o_sd_clk(o_sd_clk), + + .i_sd_dat(i_sd_dat), + .o_sd_dat(o_sd_dat), + .o_sd_dat_oe(o_sd_dat_oe) ); endmodule \ No newline at end of file diff --git a/hw/super6502_fpga/src/sub/sd_controller b/hw/super6502_fpga/src/sub/sd_controller index 91168dc..b4212ba 160000 --- a/hw/super6502_fpga/src/sub/sd_controller +++ b/hw/super6502_fpga/src/sub/sd_controller @@ -1 +1 @@ -Subproject commit 91168dcccad424c51217d3679111e51be1127e46 +Subproject commit b4212ba107ea3b251918ba356c339a64897ae085 diff --git a/hw/super6502_fpga/super6502_fpga.xml b/hw/super6502_fpga/super6502_fpga.xml index 0b88aab..88d787d 100644 --- a/hw/super6502_fpga/super6502_fpga.xml +++ b/hw/super6502_fpga/super6502_fpga.xml @@ -1,102 +1,105 @@ - + + - - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - + + + - \ No newline at end of file +