orangecrab: use litesdcard

Currently not working (tested in Linux)

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
pull/342/head
Matt Johnston 3 years ago
parent 42959184dd
commit abc6a4f372

@ -183,6 +183,7 @@ OPENOCD_JTAG_CONFIG=openocd/olimex-arm-usb-tiny-h.cfg
OPENOCD_DEVICE_CONFIG=openocd/LFE5U-85F.cfg OPENOCD_DEVICE_CONFIG=openocd/LFE5U-85F.cfg
toplevel=fpga/top-orangecrab0.2.vhdl toplevel=fpga/top-orangecrab0.2.vhdl
litedram_target=orangecrab-85-0.2 litedram_target=orangecrab-85-0.2
soc_extra_v += litesdcard/generated/lattice/litesdcard_core.v
endif endif


# ECP5-EVN # ECP5-EVN

@ -22,8 +22,8 @@ entity toplevel is
SPI_FLASH_DEF_QUAD : boolean := true; SPI_FLASH_DEF_QUAD : boolean := true;
LOG_LENGTH : natural := 0; LOG_LENGTH : natural := 0;
UART_IS_16550 : boolean := true; UART_IS_16550 : boolean := true;
HAS_UART1 : boolean := true; HAS_UART1 : boolean := false;
USE_LITESDCARD : boolean := false; USE_LITESDCARD : boolean := true;
ICACHE_NUM_LINES : natural := 64; ICACHE_NUM_LINES : natural := 64;
NGPIO : natural := 0 NGPIO : natural := 0
); );
@ -47,7 +47,7 @@ entity toplevel is
spi_flash_wp_n : inout std_ulogic; spi_flash_wp_n : inout std_ulogic;
spi_flash_hold_n : inout std_ulogic; spi_flash_hold_n : inout std_ulogic;


-- SD card -- SD card wires
sdcard_data : inout std_ulogic_vector(3 downto 0); sdcard_data : inout std_ulogic_vector(3 downto 0);
sdcard_cmd : inout std_ulogic; sdcard_cmd : inout std_ulogic;
sdcard_clk : out std_ulogic; sdcard_clk : out std_ulogic;

Loading…
Cancel
Save