`define LATTICE_FAMILY "MachXO2" `define LATTICE_FAMILY_MachXO2 `define LATTICE_DEVICE "LCMXO2-7000HC" `ifndef SYSTEM_CONF `define SYSTEM_CONF `timescale 1ns / 100 ps `define CFG_EBA_RESET 32'h0 `define MULT_ENABLE `define CFG_MC_MULTIPLY_ENABLED `define SHIFT_ENABLE `define CFG_PL_BARREL_SHIFT_ENABLED `define CFG_SIGN_EXTEND_ENABLED `define CFG_IROM_LOCK `define LM32_I_PC_WIDTH 28 `define SPIFlashLATTICE_FAMILY "MachXO2" `define S_PORT_TYPE "Memory" `define SPIFlashS_WB_DAT_WIDTH 32 `define SPIFlashS_WB_ADR_WIDTH 32 `define C_PORT_TYPE "IO" `define SPIFlashC_WB_ADR_WIDTH 11 `define PORT_CONNECTION "S;C;S:C" `define SPIFlashCLOCK_SEL 32'h0 `define PAGE_SIZE 32'h100 `define SECTOR_SIZE 32'h8000 `define SPIFlashSPI_READ 32'h3 `define SPIFlashSPI_FAST_READ 32'hb `define SPIFlashSPI_BYTE_PRG 32'h2 `define SPIFlashSPI_PAGE_PRG 32'h2 `define SPIFlashSPI_BLK1_ERS 32'hd8 `define SPIFlashSPI_BLK2_ERS 32'hd8 `define SPIFlashSPI_BLK3_ERS 32'hd8 `define SPIFlashSPI_CHIP_ERS 32'hc7 `define SPIFlashSPI_WRT_ENB 32'h6 `define SPIFlashSPI_WRT_DISB 32'h4 `define SPIFlashSPI_READ_STAT 32'h5 `define SPIFlashSPI_WRT_STAT 32'h1 `define SPIFlashSPI_PWD_DOWN 32'hb9 `define SPIFlashSPI_PWD_UP 32'hab `define SPIFlashSPI_DEV_ID 32'h9f `define sdramLATTICE_FAMILY "MachXO2" `define sdramLATTICE_DEVICE "LCMXO2-7000HC" `define sdramSYS_FREQ "0" `define sdramSDRAM_FREQ "48" `define SDR_DATA_SIZE_16 `define SDR_ROW_WIDTH 12 `define SDR_COL_WIDTH 8 `define SDR_BNK_WDTH 2 `define SDR_TMRD 2 `define SDR_TRP 3 `define SDR_TRFC 7 `define SDR_TRCD 3 `define SDR_TDAL 5 `define SDR_TREFI 1564 `define T100US 10000 `define ADDRESS_LOCK `define uartUART_WB_DAT_WIDTH 8 `define uartUART_WB_ADR_WIDTH 4 `define uartCLK_IN_MHZ 0 `define uartBAUD_RATE 115200 `define IB_SIZE 32'h4 `define OB_SIZE 32'h4 `define BLOCK_WRITE `define BLOCK_READ `define INTERRUPT_DRIVEN `define CharIODevice `define uartLCR_DATA_BITS 8 `define uartLCR_STOP_BITS 1 `define uartFIFO `define master_passthruM_WB_DAT_WIDTH 32 `define M_WB_SEL_WIDTH 4 `define master_passthruM_WB_ADR_WIDTH 32 `define ADDRESS_LOCK `define bootromEBR_WB_DAT_WIDTH 32 `define bootromINIT_FILE_NAME "none" `define bootromINIT_FILE_FORMAT "hex" `define ADDRESS_LOCK `define scratchpadEBR_WB_DAT_WIDTH 32 `define scratchpadINIT_FILE_NAME "none" `define scratchpadINIT_FILE_FORMAT "hex" `endif // SYSTEM_CONF