URL
https://opencores.org/ocsvn/core_arm/core_arm/trunk
Subversion Repositories core_arm
[/] [core_arm/] [trunk/] [vhdl/] [mem/] [cache/] [config.in] - Rev 6
Go to most recent revision | Compare with Previous | Blame | View Log
mainmenu_option next_comment
comment 'Cache system '
comment 'Instruction cache '
choice 'Associativity (sets) ' \
"1 CONFIG_ICACHE_ASSO1 \
2 CONFIG_ICACHE_ASSO2 \
3 CONFIG_ICACHE_ASSO3 \
4 CONFIG_ICACHE_ASSO4" 1
choice 'Set size (kbytes/set)' \
"1 CONFIG_ICACHE_SZ1 \
2 CONFIG_ICACHE_SZ2 \
4 CONFIG_ICACHE_SZ4 \
8 CONFIG_ICACHE_SZ8 \
16 CONFIG_ICACHE_SZ16 \
32 CONFIG_ICACHE_SZ32 \
64 CONFIG_ICACHE_SZ64" 2
choice 'Line size (words/line)' \
"4 CONFIG_ICACHE_LZ4 \
8 CONFIG_ICACHE_LZ8" 4
if [ "$CONFIG_ICACHE_ASSO1" != "y" ]; then
choice 'Replacement alorithm' \
"Random CONFIG_ICACHE_ALGORND " Random
fi
bool 'Cache locking ' CONFIG_GENICACHE_LOCK
comment 'Data cache'
choice 'Cache type' \
"Write-back CONFIG_DCACHE_WRITEBACK \
Write-through CONFIG_DCACHE_WRITETHROUGH " Write-through
if [ "$CONFIG_DCACHE_WRITETHROUGH" != "y" ]; then
bool 'Allocate on store' CONFIG_DCACHE_ALLOCATEONSTORE
fi
choice 'Associativity (sets)' \
"1 CONFIG_DCACHE_ASSO1 \
2 CONFIG_DCACHE_ASSO2 \
3 CONFIG_DCACHE_ASSO3 \
4 CONFIG_DCACHE_ASSO4" 1
choice 'Set size (kbytes/set)' \
"1 CONFIG_DCACHE_SZ1 \
2 CONFIG_DCACHE_SZ2 \
4 CONFIG_DCACHE_SZ4 \
8 CONFIG_DCACHE_SZ8 \
16 CONFIG_DCACHE_SZ16 \
32 CONFIG_DCACHE_SZ32 \
64 CONFIG_DCACHE_SZ64" 2
choice 'Line size (words/line)' \
"4 CONFIG_DCACHE_LZ4 \
8 CONFIG_DCACHE_LZ8" 4
if [ "$CONFIG_DCACHE_ASSO1" != "y" ]; then
choice 'Replacement alorithm' \
"Random CONFIG_DCACHE_ALGORND" Random
fi
bool 'Cache locking ' CONFIG_GENDCACHE_LOCK
choice 'Wribebuffer elements' \
"1 CONFIG_DCACHE_WB_SZ1 \
2 CONFIG_DCACHE_WB_SZ2 \
4 CONFIG_DCACHE_WB_SZ4 \
8 CONFIG_DCACHE_WB_SZ8 \
16 CONFIG_DCACHE_WB_SZ16 " 2
endmenu
Go to most recent revision | Compare with Previous | Blame | View Log