mirror of
https://github.com/lcbcFoo/ReonV.git
synced 2025-04-18 18:44:43 -04:00
316 lines
7.5 KiB
C
316 lines
7.5 KiB
C
/*
|
|
* Automatically generated C config: don't edit
|
|
*/
|
|
#define AUTOCONF_INCLUDED
|
|
/*
|
|
* Synthesis
|
|
*/
|
|
#undef CONFIG_SYN_INFERRED
|
|
#undef CONFIG_SYN_AXCEL
|
|
#undef CONFIG_SYN_AXDSP
|
|
#undef CONFIG_SYN_PROASIC
|
|
#undef CONFIG_SYN_PROASICPLUS
|
|
#undef CONFIG_SYN_PROASIC3
|
|
#undef CONFIG_SYN_PROASIC3E
|
|
#undef CONFIG_SYN_PROASIC3L
|
|
#undef CONFIG_SYN_IGLOO
|
|
#undef CONFIG_SYN_IGLOO2
|
|
#undef CONFIG_SYN_SF2
|
|
#undef CONFIG_SYN_RTG4
|
|
#undef CONFIG_SYN_FUSION
|
|
#undef CONFIG_SYN_UT025CRH
|
|
#undef CONFIG_SYN_UT130HBD
|
|
#undef CONFIG_SYN_UT90NHBD
|
|
#undef CONFIG_SYN_CYCLONEIII
|
|
#undef CONFIG_SYN_STRATIX
|
|
#undef CONFIG_SYN_STRATIXII
|
|
#undef CONFIG_SYN_STRATIXIII
|
|
#undef CONFIG_SYN_STRATIXIV
|
|
#undef CONFIG_SYN_STRATIXV
|
|
#undef CONFIG_SYN_ALTERA
|
|
#undef CONFIG_SYN_ATC18
|
|
#undef CONFIG_SYN_ATC18RHA
|
|
#undef CONFIG_SYN_CUSTOM1
|
|
#undef CONFIG_SYN_DARE
|
|
#undef CONFIG_SYN_CMOS9SF
|
|
#undef CONFIG_SYN_LATTICE
|
|
#undef CONFIG_SYN_ECLIPSE
|
|
#undef CONFIG_SYN_RH_LIB18T
|
|
#undef CONFIG_SYN_RHUMC
|
|
#undef CONFIG_SYN_RHS65
|
|
#undef CONFIG_SYN_SAED32
|
|
#undef CONFIG_SYN_SMIC13
|
|
#undef CONFIG_SYN_TM65GPLUS
|
|
#undef CONFIG_SYN_TSMC90
|
|
#undef CONFIG_SYN_UMC
|
|
#define CONFIG_SYN_ARTIX7 1
|
|
#undef CONFIG_SYN_KINTEX7
|
|
#undef CONFIG_SYN_SPARTAN3
|
|
#undef CONFIG_SYN_SPARTAN3E
|
|
#undef CONFIG_SYN_SPARTAN6
|
|
#undef CONFIG_SYN_VIRTEX2
|
|
#undef CONFIG_SYN_VIRTEX4
|
|
#undef CONFIG_SYN_VIRTEX5
|
|
#undef CONFIG_SYN_VIRTEX6
|
|
#undef CONFIG_SYN_VIRTEX7
|
|
#undef CONFIG_SYN_ZYNQ7000
|
|
#undef CONFIG_SYN_INFER_RAM
|
|
#undef CONFIG_SYN_INFER_PADS
|
|
#undef CONFIG_SYN_NO_ASYNC
|
|
#undef CONFIG_SYN_SCAN
|
|
/*
|
|
* Clock generation
|
|
*/
|
|
#undef CONFIG_CLK_INFERRED
|
|
#undef CONFIG_CLK_HCLKBUF
|
|
#undef CONFIG_CLK_UT130HBD
|
|
#undef CONFIG_CLK_ALTDLL
|
|
#undef CONFIG_CLK_LATDLL
|
|
#undef CONFIG_CLK_PRO3PLL
|
|
#undef CONFIG_CLK_PRO3EPLL
|
|
#undef CONFIG_CLK_PRO3LPLL
|
|
#undef CONFIG_CLK_FUSPLL
|
|
#undef CONFIG_CLK_LIB18T
|
|
#undef CONFIG_CLK_RHUMC
|
|
#undef CONFIG_CLK_DARE
|
|
#undef CONFIG_CLK_SAED32
|
|
#undef CONFIG_CLK_EASIC45
|
|
#undef CONFIG_CLK_RHS65
|
|
#undef CONFIG_CLK_CLKPLLE2
|
|
#undef CONFIG_CLK_CLKDLL
|
|
#define CONFIG_CLK_DCM 1
|
|
#define CONFIG_CLK_MUL (14)
|
|
#define CONFIG_CLK_DIV (20)
|
|
#undef CONFIG_PCI_CLKDLL
|
|
#undef CONFIG_CLK_NOFB
|
|
#undef CONFIG_PCI_SYSCLK
|
|
/*
|
|
* Processor
|
|
*/
|
|
#define CONFIG_LEON3 1
|
|
#define CONFIG_PROC_NUM (1)
|
|
#undef CONFIG_LEON3_MIN
|
|
#undef CONFIG_LEON3_GP
|
|
#undef CONFIG_LEON3_HP
|
|
#define CONFIG_LEON3_CUSTOM 1
|
|
/*
|
|
* Integer unit
|
|
*/
|
|
#define CONFIG_IU_NWINDOWS (8)
|
|
#undef CONFIG_IU_V8MULDIV
|
|
#undef CONFIG_IU_BP
|
|
#undef CONFIG_IU_SVT
|
|
#define CONFIG_IU_LDELAY (1)
|
|
#define CONFIG_IU_WATCHPOINTS (0)
|
|
#undef CONFIG_PWD
|
|
#define CONFIG_IU_RSTADDR 00000
|
|
#undef CONFIG_NP_ASI
|
|
#undef CONFIG_WRPSR
|
|
#undef CONFIG_ALTWIN
|
|
#undef CONFIG_REX
|
|
/*
|
|
* Floating-point unit
|
|
*/
|
|
#undef CONFIG_FPU_ENABLE
|
|
/*
|
|
* Cache system
|
|
*/
|
|
#define CONFIG_ICACHE_ENABLE 1
|
|
#undef CONFIG_ICACHE_ASSO1
|
|
#undef CONFIG_ICACHE_ASSO2
|
|
#undef CONFIG_ICACHE_ASSO3
|
|
#define CONFIG_ICACHE_ASSO4 1
|
|
#undef CONFIG_ICACHE_SZ1
|
|
#undef CONFIG_ICACHE_SZ2
|
|
#define CONFIG_ICACHE_SZ4 1
|
|
#undef CONFIG_ICACHE_SZ8
|
|
#undef CONFIG_ICACHE_SZ16
|
|
#undef CONFIG_ICACHE_SZ32
|
|
#undef CONFIG_ICACHE_SZ64
|
|
#undef CONFIG_ICACHE_SZ128
|
|
#undef CONFIG_ICACHE_SZ256
|
|
#undef CONFIG_ICACHE_LZ16
|
|
#define CONFIG_ICACHE_LZ32 1
|
|
#define CONFIG_ICACHE_ALGORND 1
|
|
#undef CONFIG_ICACHE_ALGODIR
|
|
#undef CONFIG_ICACHE_ALGOLRR
|
|
#undef CONFIG_ICACHE_ALGOLRU
|
|
#undef CONFIG_ICACHE_LOCK
|
|
#define CONFIG_DCACHE_ENABLE 1
|
|
#undef CONFIG_DCACHE_ASSO1
|
|
#undef CONFIG_DCACHE_ASSO2
|
|
#undef CONFIG_DCACHE_ASSO3
|
|
#define CONFIG_DCACHE_ASSO4 1
|
|
#undef CONFIG_DCACHE_SZ1
|
|
#undef CONFIG_DCACHE_SZ2
|
|
#define CONFIG_DCACHE_SZ4 1
|
|
#undef CONFIG_DCACHE_SZ8
|
|
#undef CONFIG_DCACHE_SZ16
|
|
#undef CONFIG_DCACHE_SZ32
|
|
#undef CONFIG_DCACHE_SZ64
|
|
#undef CONFIG_DCACHE_SZ128
|
|
#undef CONFIG_DCACHE_SZ256
|
|
#undef CONFIG_DCACHE_LZ16
|
|
#define CONFIG_DCACHE_LZ32 1
|
|
#define CONFIG_DCACHE_ALGORND 1
|
|
#undef CONFIG_DCACHE_ALGODIR
|
|
#undef CONFIG_DCACHE_ALGOLRR
|
|
#undef CONFIG_DCACHE_ALGOLRU
|
|
#undef CONFIG_DCACHE_LOCK
|
|
#undef CONFIG_DCACHE_SNOOP
|
|
#define CONFIG_CACHE_FIXED 0
|
|
/*
|
|
* MMU
|
|
*/
|
|
#define CONFIG_MMU_ENABLE 1
|
|
#define CONFIG_MMU_COMBINED 1
|
|
#undef CONFIG_MMU_SPLIT
|
|
#undef CONFIG_MMU_REPARRAY
|
|
#define CONFIG_MMU_REPINCREMENT 1
|
|
#undef CONFIG_MMU_I2
|
|
#undef CONFIG_MMU_I4
|
|
#define CONFIG_MMU_I8 1
|
|
#undef CONFIG_MMU_I16
|
|
#undef CONFIG_MMU_I32
|
|
#undef CONFIG_MMU_I64
|
|
#define CONFIG_MMU_PAGE_4K 1
|
|
#undef CONFIG_MMU_PAGE_8K
|
|
#undef CONFIG_MMU_PAGE_16K
|
|
#undef CONFIG_MMU_PAGE_32K
|
|
#undef CONFIG_MMU_PAGE_PROG
|
|
/*
|
|
* Debug Support Unit
|
|
*/
|
|
#define CONFIG_DSU_ENABLE 1
|
|
#define CONFIG_DSU_ITRACE 1
|
|
#define CONFIG_DSU_ITRACESZ1 1
|
|
#undef CONFIG_DSU_ITRACESZ2
|
|
#undef CONFIG_DSU_ITRACESZ4
|
|
#undef CONFIG_DSU_ITRACESZ8
|
|
#undef CONFIG_DSU_ITRACESZ16
|
|
#undef CONFIG_DSU_ITRACE_2P
|
|
#undef CONFIG_DSU_ATRACE
|
|
#undef CONFIG_STAT_ENABLE
|
|
/*
|
|
* Fault-tolerance
|
|
*/
|
|
/*
|
|
* VHDL debug settings
|
|
*/
|
|
#undef CONFIG_IU_DISAS
|
|
#undef CONFIG_DEBUG_PC32
|
|
/*
|
|
* AMBA configuration
|
|
*/
|
|
#define CONFIG_AHB_DEFMST (0)
|
|
#define CONFIG_AHB_RROBIN 1
|
|
#undef CONFIG_AHB_SPLIT
|
|
#define CONFIG_AHB_FPNPEN 1
|
|
#define CONFIG_AHB_IOADDR FFF
|
|
#define CONFIG_APB_HADDR 800
|
|
#define CONFIG_AHB_MON 1
|
|
#undef CONFIG_AHB_MONERR
|
|
#undef CONFIG_AHB_MONWAR
|
|
#undef CONFIG_AHB_DTRACE
|
|
/*
|
|
* Debug Link
|
|
*/
|
|
#define CONFIG_DSU_UART 1
|
|
#define CONFIG_DSU_JTAG 1
|
|
#define CONFIG_DSU_ETH 1
|
|
#undef CONFIG_DSU_ETHSZ1
|
|
#define CONFIG_DSU_ETHSZ2 1
|
|
#undef CONFIG_DSU_ETHSZ4
|
|
#undef CONFIG_DSU_ETHSZ8
|
|
#undef CONFIG_DSU_ETHSZ16
|
|
#define CONFIG_DSU_IPMSB C0A8
|
|
#define CONFIG_DSU_IPLSB 0033
|
|
#define CONFIG_DSU_ETHMSB 020000
|
|
#define CONFIG_DSU_ETHLSB 000000
|
|
#define CONFIG_DSU_ETH_PROG 1
|
|
#undef CONFIG_DSU_ETH_DIS
|
|
/*
|
|
* Peripherals
|
|
*/
|
|
/*
|
|
* Memory controllers
|
|
*/
|
|
/*
|
|
* DDR2 SDRAM controller
|
|
*/
|
|
#define CONFIG_DDR2SP 1
|
|
#define CONFIG_DDR2SP_INIT 1
|
|
#undef CONFIG_DDR2SP_NOSYNC
|
|
#define CONFIG_DDR2SP_FREQ (140)
|
|
#define CONFIG_DDR2SP_TRFC (130)
|
|
#define CONFIG_DDR2SP_COL (10)
|
|
#define CONFIG_DDR2SP_MBYTE (128)
|
|
#define CONFIG_DDR2SP_DATAWIDTH (16)
|
|
#undef CONFIG_DDR2SP_FTEN
|
|
#define CONFIG_DDR2SP_DELAY0 (0)
|
|
#define CONFIG_DDR2SP_DELAY1 (0)
|
|
#define CONFIG_DDR2SP_DELAY2 (0)
|
|
#define CONFIG_DDR2SP_DELAY3 (0)
|
|
#define CONFIG_DDR2SP_DELAY4 (0)
|
|
#define CONFIG_DDR2SP_DELAY5 (0)
|
|
#define CONFIG_DDR2SP_DELAY6 (0)
|
|
#define CONFIG_DDR2SP_DELAY7 (0)
|
|
/*
|
|
* MIG 7-Series memory controller
|
|
*/
|
|
#undef CONFIG_MIG_7SERIES
|
|
#undef CONFIG_MIG_7SERIES_MODEL
|
|
/*
|
|
* On-chip RAM/ROM
|
|
*/
|
|
#define CONFIG_AHBROM_ENABLE 1
|
|
#define CONFIG_AHBROM_START 000
|
|
#undef CONFIG_AHBROM_PIPE
|
|
#undef CONFIG_AHBRAM_ENABLE
|
|
/*
|
|
* Ethernet
|
|
*/
|
|
#define CONFIG_GRETH_ENABLE 1
|
|
#undef CONFIG_GRETH_GIGA
|
|
#undef CONFIG_GRETH_FIFO4
|
|
#define CONFIG_GRETH_FIFO8 1
|
|
#undef CONFIG_GRETH_FIFO16
|
|
#undef CONFIG_GRETH_FIFO32
|
|
#undef CONFIG_GRETH_FIFO64
|
|
/*
|
|
* UARTs, timers and irq control
|
|
*/
|
|
#define CONFIG_UART1_ENABLE 1
|
|
#undef CONFIG_UA1_FIFO1
|
|
#define CONFIG_UA1_FIFO2 1
|
|
#undef CONFIG_UA1_FIFO4
|
|
#undef CONFIG_UA1_FIFO8
|
|
#undef CONFIG_UA1_FIFO16
|
|
#undef CONFIG_UA1_FIFO32
|
|
#undef CONFIG_IRQ3_ENABLE
|
|
#undef CONFIG_GPT_ENABLE
|
|
#define CONFIG_GRGPIO_ENABLE 1
|
|
#define CONFIG_GRGPIO_WIDTH (8)
|
|
#define CONFIG_GRGPIO_IMASK 0000
|
|
/*
|
|
* SPI
|
|
*/
|
|
/*
|
|
* SPI memory controller
|
|
*/
|
|
#define CONFIG_SPIMCTRL 1
|
|
#define CONFIG_SPIMCTRL_READCMD 0B
|
|
#undef CONFIG_SPIMCTRL_DUMMYBYTE
|
|
#undef CONFIG_SPIMCTRL_DUALOUTPUT
|
|
#define CONFIG_SPIMCTRL_OFFSET 0
|
|
#define CONFIG_SPIMCTRL_SCALER (2)
|
|
#define CONFIG_SPIMCTRL_ASCALER (2)
|
|
#define CONFIG_SPIMCTRL_PWRUPCNT (0)
|
|
/*
|
|
* Partial Reconfiguration
|
|
*/
|
|
#undef CONFIG_PARTIAL
|
|
/*
|
|
* VHDL Debugging
|
|
*/
|
|
#define CONFIG_DEBUG_UART 1
|