diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-03-18 18:38:44 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-03-18 18:38:44 +0200 |
| commit | 69de37cdb25563f6cbd2a3c1a338b1e0dd47b3a4 (patch) | |
| tree | c1895044fd0051f919a989460be3ac39a6ab09b8 /atk16_fpga/flash_to_ram.v | |
| parent | 06e8b8dbadf769507abf5368caee253ded139adc (diff) | |
Start reworking fpga impl
Diffstat (limited to 'atk16_fpga/flash_to_ram.v')
| -rw-r--r-- | atk16_fpga/flash_to_ram.v | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/atk16_fpga/flash_to_ram.v b/atk16_fpga/flash_to_ram.v deleted file mode 100644 index 2e0f7b6..0000000 --- a/atk16_fpga/flash_to_ram.v +++ /dev/null @@ -1,27 +0,0 @@ -module flash_to_ram( - // SRAM interface - output sram_cs_n, - output sram_rd_n, - output sram_wr_n, - output [17:0] sram_addr, - output [15:0] sram_in, - input [15:0] sram_out, - - // SPI master interface - output wire spi_cs_n, // Chip select, active low - output wire spi_clk, // SPI clock - output wire spi_mosi, // Master Out Slave In - input wire spi_miso, // Master In Slave Out - output wire spi_rst_n // Active low reset -); - - // Copy 128KB from flash address 2^20 onwards to SRAM address 0 - // 1. Send a read message to the flash - // 2. Wait for the flash to respond - // 3. Write the data to SRAM - // 4. Repeat until 128KB has been copied - - - - -endmodule |
