Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInformation about the system from .h file:
# define CPU_IMPLEMENTATION "fast" # define BIG_ENDIAN 0 # define CPU_FREQ 50000000 # define ICACHE_LINE_SIZE 32 # define ICACHE_LINE_SIZE_LOG2 5 # define ICACHE_SIZE 4096 # define DCACHE_LINE_SIZE 32 # define DCACHE_LINE_SIZE_LOG2 5 # define DCACHE_SIZE 2048 # define INITDA_SUPPORTED # define FLUSHDA_SUPPORTED # define HAS_JMPI_INSTRUCTION # define MMU_PRESENT # define KERNEL_REGION_BASE 0xc0000000 # define IO_REGION_BASE 0xe0000000 # define KERNEL_MMU_REGION_BASE 0x80000000 # define USER_REGION_BASE 0x0 # define PROCESS_ID_NUM_BITS 8 # define TLB_NUM_WAYS 16 # define TLB_NUM_WAYS_LOG2 4 # define TLB_PTR_SZ 7 # define TLB_NUM_ENTRIES 128 # define FAST_TLB_MISS_EXCEPTION_ADDR 0xc1800000 # define EXCEPTION_ADDR 0xc0800020 # define RESET_ADDR 0xc0800000 # define BREAK_ADDR 0xc1804820 # define HAS_DEBUG_STUB # define HAS_DEBUG_CORE 1 # define HAS_ILLEGAL_INSTRUCTION_EXCEPTION # define HAS_ILLEGAL_MEMORY_ACCESS_EXCEPTION # define HAS_EXTRA_EXCEPTION_INFO # define CPU_ID_SIZE 1 # define CPU_ID_VALUE 0x0 # define HARDWARE_DIVIDE_PRESENT 0 # define HARDWARE_MULTIPLY_PRESENT 1 # define HARDWARE_MULX_PRESENT 0 # define INST_ADDR_WIDTH 25 # define DATA_ADDR_WIDTH 25 # define NUM_OF_SHADOW_REG_SETS 0