mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Removed HSELEXTSDC and fixed SD card pin definitions.
This commit is contained in:
parent
bd07a60c07
commit
51f061ba35
@ -42,10 +42,11 @@ module fpgaTop
|
|||||||
output UARTSout,
|
output UARTSout,
|
||||||
|
|
||||||
// SDC Signals connecting to an SPI peripheral
|
// SDC Signals connecting to an SPI peripheral
|
||||||
input [3:0] SDCDat,
|
input SDCIn,
|
||||||
output SDCCLK,
|
output SDCCLK,
|
||||||
output SDCCmd,
|
output SDCCmd,
|
||||||
output SDCCD,
|
output SDCCS,
|
||||||
|
input SDCCD,
|
||||||
|
|
||||||
// Memory signals
|
// Memory signals
|
||||||
inout [15:0] ddr3_dq,
|
inout [15:0] ddr3_dq,
|
||||||
@ -199,10 +200,8 @@ module fpgaTop
|
|||||||
assign cpu_reset = bus_struct_reset;
|
assign cpu_reset = bus_struct_reset;
|
||||||
assign calib = c0_init_calib_complete;
|
assign calib = c0_init_calib_complete;
|
||||||
|
|
||||||
logic [3:0] SDCCS;
|
logic [3:0] SDCCSin;
|
||||||
assign SDCCD = SDCCS[0];
|
assign SDCCS = SDCCSin[0];
|
||||||
logic SDCIn;
|
|
||||||
assign SDCIn = SDCDat[0];
|
|
||||||
|
|
||||||
// mmcm
|
// mmcm
|
||||||
|
|
||||||
@ -243,14 +242,14 @@ module fpgaTop
|
|||||||
.HADDR, .HWDATA, .HWSTRB, .HWRITE, .HSIZE, .HBURST, .HPROT,
|
.HADDR, .HWDATA, .HWSTRB, .HWRITE, .HSIZE, .HBURST, .HPROT,
|
||||||
.HTRANS, .HMASTLOCK, .HREADY, .TIMECLK(1'b0),
|
.HTRANS, .HMASTLOCK, .HREADY, .TIMECLK(1'b0),
|
||||||
.GPIOIN, .GPIOOUT, .GPIOEN,
|
.GPIOIN, .GPIOOUT, .GPIOEN,
|
||||||
.UARTSin, .UARTSout, .SDCIn, .SDCCmd, .SDCCS, .SDCCLK);
|
.UARTSin, .UARTSout, .SDCIn, .SDCCmd, .SDCCS(SDCCSin), .SDCCLK);
|
||||||
|
|
||||||
|
|
||||||
// ahb lite to axi bridge
|
// ahb lite to axi bridge
|
||||||
xlnx_ahblite_axi_bridge xlnx_ahblite_axi_bridge_0
|
xlnx_ahblite_axi_bridge xlnx_ahblite_axi_bridge_0
|
||||||
(.s_ahb_hclk(CPUCLK),
|
(.s_ahb_hclk(CPUCLK),
|
||||||
.s_ahb_hresetn(peripheral_aresetn),
|
.s_ahb_hresetn(peripheral_aresetn),
|
||||||
.s_ahb_hsel(HSELEXT | HSELEXTSDC),
|
.s_ahb_hsel(HSELEXT),
|
||||||
.s_ahb_haddr(HADDR[31:0]),
|
.s_ahb_haddr(HADDR[31:0]),
|
||||||
.s_ahb_hprot(HPROT),
|
.s_ahb_hprot(HPROT),
|
||||||
.s_ahb_htrans(HTRANS),
|
.s_ahb_htrans(HTRANS),
|
||||||
|
Loading…
Reference in New Issue
Block a user