ReonV/designs/leon3-asic/config.h

326 lines
7.6 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
#define CONFIG_SYN_SAED32 1
#undef CONFIG_SYN_SMIC13
#undef CONFIG_SYN_TM65GPLUS
#undef CONFIG_SYN_TSMC90
#undef CONFIG_SYN_UMC
#undef CONFIG_SYN_ARTIX7
#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_MEM_INFERRED
#undef CONFIG_MEM_UMC
#undef CONFIG_MEM_RHUMC
#define CONFIG_MEM_SAED32 1
#undef CONFIG_MEM_DARE
#undef CONFIG_MEM_RHS65
#undef CONFIG_MEM_ARTISAN
#undef CONFIG_MEM_CUSTOM1
#undef CONFIG_MEM_VIRAGE
#undef CONFIG_MEM_VIRAGE90
#undef CONFIG_SYN_INFER_RAM
#undef CONFIG_SYN_INFER_PADS
#define CONFIG_SYN_NO_ASYNC 1
#define CONFIG_SYN_SCAN 1
#undef CONFIG_BOUNDSCAN_EN
/*
* 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
#define CONFIG_CLK_SAED32 1
#undef CONFIG_CLK_EASIC45
#undef CONFIG_CLK_RHS65
#undef CONFIG_CLK_CLKPLLE2
#undef CONFIG_CLK_CLKDLL
#undef CONFIG_CLK_DCM
#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)
#define CONFIG_IU_V8MULDIV 1
#define CONFIG_IU_MUL_LATENCY_2 1
#undef CONFIG_IU_MUL_LATENCY_4
#undef CONFIG_IU_MUL_LATENCY_5
#define CONFIG_IU_MUL_INFERRED 1
#undef CONFIG_IU_MUL_MODGEN
#undef CONFIG_IU_MUL_TECHSPEC
#undef CONFIG_IU_MUL_DW
#define CONFIG_IU_BP 1
#define CONFIG_IU_SVT 1
#define CONFIG_IU_LDELAY (1)
#define CONFIG_IU_WATCHPOINTS (4)
#define CONFIG_PWD 1
#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
#define CONFIG_ICACHE_ASSO2 1
#undef CONFIG_ICACHE_ASSO3
#undef CONFIG_ICACHE_ASSO4
#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
#define CONFIG_ICACHE_LZ16 1
#undef CONFIG_ICACHE_LZ32
#undef CONFIG_ICACHE_ALGORND
#undef CONFIG_ICACHE_ALGODIR
#undef CONFIG_ICACHE_ALGOLRR
#define CONFIG_ICACHE_ALGOLRU 1
#undef CONFIG_ICACHE_LOCK
#undef CONFIG_ICACHE_LRAM
#define CONFIG_DCACHE_ENABLE 1
#undef CONFIG_DCACHE_ASSO1
#define CONFIG_DCACHE_ASSO2 1
#undef CONFIG_DCACHE_ASSO3
#undef CONFIG_DCACHE_ASSO4
#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
#define CONFIG_DCACHE_LZ16 1
#undef CONFIG_DCACHE_LZ32
#undef CONFIG_DCACHE_ALGORND
#undef CONFIG_DCACHE_ALGODIR
#undef CONFIG_DCACHE_ALGOLRR
#define CONFIG_DCACHE_ALGOLRU 1
#undef CONFIG_DCACHE_LOCK
#define CONFIG_DCACHE_SNOOP 1
#define CONFIG_DCACHE_SNOOP_SEPTAG 1
#undef CONFIG_DCACHE_SNOOP_SP
#define CONFIG_CACHE_FIXED 0
#undef CONFIG_DCACHE_LRAM
/*
* MMU
*/
#undef CONFIG_MMU_ENABLE
/*
* Debug Support Unit
*/
#define CONFIG_DSU_ENABLE 1
#define CONFIG_DSU_ITRACE 1
#undef CONFIG_DSU_ITRACESZ1
#undef CONFIG_DSU_ITRACESZ2
#define CONFIG_DSU_ITRACESZ4 1
#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
#undef CONFIG_AHB_FPNPEN
#define CONFIG_AHB_IOADDR FFF
#define CONFIG_APB_HADDR 800
#undef CONFIG_AHB_MON
#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
#undef CONFIG_DSU_ETHSZ2
#undef CONFIG_DSU_ETHSZ4
#define CONFIG_DSU_ETHSZ8 1
#undef CONFIG_DSU_ETHSZ16
#define CONFIG_DSU_IPMSB C0A8
#define CONFIG_DSU_IPLSB 0033
#define CONFIG_DSU_ETHMSB 020000
#define CONFIG_DSU_ETHLSB 000000
#undef CONFIG_DSU_ETH_PROG
/*
* Memory controllers
*/
/*
* Leon2 memory controller
*/
#define CONFIG_MCTRL_LEON2 1
#define CONFIG_MCTRL_8BIT 1
#undef CONFIG_MCTRL_16BIT
#undef CONFIG_MCTRL_5CS
#define CONFIG_MCTRL_SDRAM 1
#undef CONFIG_MCTRL_SDRAM_SEPBUS
#undef CONFIG_MCTRL_PAGE
#define CONFIG_AHBSTAT_ENABLE 1
#define CONFIG_AHBSTAT_NFTSLV (1)
/*
* Peripherals
*/
/*
* Spacewire
*/
#undef CONFIG_SPW_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
/*
* SPI
*/
/*
* SPI memory controller
*/
#undef CONFIG_SPIMCTRL
/*
* SPI controller(s)
*/
#define CONFIG_SPICTRL_ENABLE 1
#define CONFIG_SPICTRL_NUM (1)
#define CONFIG_SPICTRL_SLVS (6)
#define CONFIG_SPICTRL_FIFO (4)
#define CONFIG_SPICTRL_SLVREG 1
#undef CONFIG_SPICTRL_ASEL
#undef CONFIG_SPICTRL_AM
#undef CONFIG_SPICTRL_ODMODE
#undef CONFIG_SPICTRL_TWEN
#define CONFIG_SPICTRL_MAXWLEN (0)
#undef CONFIG_SPICTRL_SYNCRAM
#define CONFIG_SPICTRL_PROT0 1
#undef CONFIG_SPICTRL_PROT1
#undef CONFIG_SPICTRL_PROT2
/*
* CAN
*/
#undef CONFIG_CAN_ENABLE
/*
* UARTs, timers and irq control
*/
#define CONFIG_UART1_ENABLE 1
#undef CONFIG_UA1_FIFO1
#undef CONFIG_UA1_FIFO2
#define CONFIG_UA1_FIFO4 1
#undef CONFIG_UA1_FIFO8
#undef CONFIG_UA1_FIFO16
#undef CONFIG_UA1_FIFO32
#define CONFIG_UART2_ENABLE 1
#undef CONFIG_UA2_FIFO1
#undef CONFIG_UA2_FIFO2
#define CONFIG_UA2_FIFO4 1
#undef CONFIG_UA2_FIFO8
#undef CONFIG_UA2_FIFO16
#undef CONFIG_UA2_FIFO32
#define CONFIG_IRQ3_ENABLE 1
#undef CONFIG_IRQ3_SEC
#define CONFIG_GPT_ENABLE 1
#define CONFIG_GPT_NTIM (4)
#define CONFIG_GPT_SW (12)
#define CONFIG_GPT_TW (32)
#define CONFIG_GPT_IRQ (8)
#undef CONFIG_GPT_SEPIRQ
#define CONFIG_GPT_WDOGEN 1
#define CONFIG_GPT_WDOG FFFFF
#define CONFIG_GRGPIO_ENABLE 1
#define CONFIG_GRGPIO_WIDTH (16)
#define CONFIG_GRGPIO_IMASK FE
#define CONFIG_I2C_ENABLE 1
/*
* VHDL Debugging
*/
#undef CONFIG_DEBUG_UART