mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
- Introduced for handling QSPI flash memory operations, including command and address handling. - Added to interface with the C++ flash memory implementation, allowing for read operations via DPI-C. - Created for the flash memory implementation, supporting initialization, reading, and memory copying. - Updated to integrate the new QSPI Flash module and connect it with the existing system. - Refactored file paths in various filelists and scripts to accommodate the new directory structure under . - Enhanced the Python scripts for generating memory maps and preparing the environment for the new structure. - Adjusted test scripts to reflect changes in the directory structure and ensure compatibility with the new modules.
29 lines
1.1 KiB
Systemverilog
29 lines
1.1 KiB
Systemverilog
// Copyright (c) 2023-2026 Yuchi Miao <miaoyuchi@ict.ac.cn>
|
|
// retroSoC is licensed under Mulan PSL v2.
|
|
// You can use this software according to the terms and conditions of the Mulan PSL v2.
|
|
// You may obtain a copy of Mulan PSL v2 at:
|
|
// http://license.coscl.org.cn/MulanPSL2
|
|
// THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
|
// EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
|
|
// MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
|
|
// See the Mulan PSL v2 for more details.
|
|
|
|
`ifndef NMI_GPIO_DEF_SV
|
|
`define NMI_GPIO_DEF_SV
|
|
|
|
// verilog_format: off
|
|
`define NMI_GPIO_NUM 32
|
|
`define NMI_GPIO_OE 8'h00 // rw
|
|
`define NMI_GPIO_CS 8'h04 // rw
|
|
`define NMI_GPIO_PU 8'h08 // rw
|
|
`define NMI_GPIO_PD 8'h0C // rw
|
|
`define NMI_GPIO_DO 8'h10 // rw
|
|
`define NMI_GPIO_DI 8'h14 // ro
|
|
`define NMI_GPIO_IEN 8'h18 // rw
|
|
`define NMI_GPIO_ITYPE0 8'h1c // rw
|
|
`define NMI_GPIO_ITYPE1 8'h20 // rw
|
|
`define NMI_GPIO_ISTAT 8'h24 // ro
|
|
`define NMI_GPIO_IOFCFG 8'h28 // rw
|
|
`define NMI_GPIO_PINMUX 8'h2c // rw
|
|
// verilog_format: on
|
|
`endif |