📄 leon3.in.help
字号:
by the generic and virtex2 targets. Most target packages are limited to 2 - 16 kbyte. A large cache gives higher performance but the data cache is timing critical an a too large setting might affect the maximum frequency (on ASIC targets). The total data cache size is the number of set multiplied with the set size.Data cache line sizeCONFIG_DCACHE_LZ16 The data cache line size. Can be set to either 16 or 32 bytes per line. A smaller line size gives better associativity and higher cache hit rate, but requires a larger tag memory.Data cache replacement algorithmCONFIG_DCACHE_ALGORND See the explanation for instruction cache replacement algorithm.Data cache lockingCONFIG_DCACHE_LOCK Say Y here to enable cache locking in the data cache. Locking can be done on cache-line level, but will increase the width of the tag ram with one bit. If you don't know what locking is good for, it is safe to say N.Data cache snoopingCONFIG_DCACHE_SNOOP Say Y here to enable data cache snooping on the AHB bus. Is only useful if you have additional AHB masters such as the DSU or a target PCI interface. Note that the target technology must support dual-port RAMs for this option to be enabled. Dual-port RAMS are currently supported on Virtex/2, Virage and Actel targets.Data cache snooping implementationCONFIG_DCACHE_SNOOP_FAST The default snooping implementation is 'slow', which works if you don't have AHB slaves in cacheable areas capable of zero-waitstates non-sequential write accesses. Otherwise use 'fast' and suffer a few kgates extra area. This option is currently only needed in multi-master systems with the SSRAM or DDR memory controllers.Separate snoop tagsCONFIG_DCACHE_SNOOP_SEPTAG Enable a separate memory to store the data tags used for snooping. This is necessary when snooping support is wanted in systems with MMU, typically for SMP systems. In this case, the snoop tags will contain the physical tag address while the normal tags contain the virtual tag address. This option can also be together with the 'fast snooping' option to enable snooping support on technologies without dual-port RAMs. In such case, the snoop tag RAM will be implemented using a two-port RAM. Fixed cacheability mapCONFIG_CACHE_FIXED If this variable is 0, the cacheable memory regions are defined by the AHB plug&play information (default). To overriden the plug&play settings, this variable can be set to indicate which areas should be cached. The value is treated as a 16-bit hex value with each bit defining if a 256 Mbyte segment should be cached or not. The right-most (LSB) bit defines the cacheability of AHB address 0 - 256 MByte, while the left-most bit (MSB) defines AHB address 3840 - 4096 MByte. If the bit is set, the corresponding area is cacheable. A value of 00F3 defines address 0 - 0x20000000 and 0x40000000 - 0x80000000 as cacheable.Local data ramCONFIG_DCACHE_LRAM Say Y here to add a local ram to the data cache controller. Accesses to the ram (load/store) will be performed at 0 waitstates and store data will never be written back to the AHB bus.Size of local data ramCONFIG_DCACHE_LRAM_SZ1 Defines the size of the local data ram in Kbytes. Note that most technology libraries do not support larger rams than 16 Kbyte.Start address of local data ramCONFIG_DCACHE_LRSTART Defines the 8 MSB bits of start address of the local data ram. By default set to 8f (start address = 0x8f000000), but any value (except 0) is possible. Note that the local data ram 'shadows' a 16 Mbyte block of the address space.MMU enableCONFIG_MMU_ENABLE Say Y here to enable the Memory Management Unit.MMU split icache/dcache table lookaside bufferCONFIG_MMU_COMBINED Select "combined" for a combined icache/dcache table lookaside buffer, "split" for a split icache/dcache table lookaside bufferMMU tlb replacement schemeCONFIG_MMU_REPARRAY Select "LRU" to use the "least recently used" algorithm for TLB replacement, or "Increment" for a simple incremental replacement scheme.Combined i/dcache tlbCONFIG_MMU_I2 Select the number of entries for the instruction TLB, or the combined icache/dcache TLB if such is used.Split tlb, dcacheCONFIG_MMU_D2 Select the number of entries for the dcache TLB.Fast writebuffer CONFIG_MMU_FASTWB Only selectable if split tlb is enabled. In case fast writebuffer is enabled the tlb hit will be made concurrent to the cache hit. This leads to higher store performance, but increased power and area. DSU enableCONFIG_DSU_ENABLE The debug support unit (DSU) allows non-intrusive debugging and tracing of both executed instructions and AHB transfers. If you want to enable the DSU, say Y here and select the configuration below.Trace buffer enableCONFIG_DSU_TRACEBUF Say Y to enable the trace buffer. The buffer is not necessary for debugging, only for tracing instructions and data transfers.Enable instruction tracingCONFIG_DSU_ITRACE If you say Y here, an instruction trace buffer will be implemented in each processor. The trace buffer will trace executed instructions and their results, and place them in a circular buffer. The buffer can be read out by any AHB master, and in particular by the debug communication link.Size of trace bufferCONFIG_DSU_ITRACESZ1 Select the buffer size (in kbytes) for the instruction trace buffer. Each line in the buffer needs 16 bytes. A 128-entry buffer will thus need 2 kbyte.Enable AHB tracingCONFIG_DSU_ATRACE If you say Y here, an AHB trace buffer will be implemented in the debug support unit processor. The AHB buffer will trace all transfers on the AHB bus and save them in a circular buffer. The trace buffer can be read out by any AHB master, and in particular by the debug communication link.Size of trace bufferCONFIG_DSU_ATRACESZ1 Select the buffer size (in kbytes) for the AHB trace buffer. Each line in the buffer needs 16 bytes. A 128-entry buffer will thus need 2 kbyte.LEON3FT enableCONFIG_LEON3FT_EN Say Y here to use the fault-tolerant LEON3FT core instead of the standard non-FT LEON3.IU Register file protection CONFIG_IUFT_NONE Select the FT implementation in the LEON3FT integer unit register file. The options include parity, parity with sparing, 7-bit BCH and TMR.FPU Register file protection CONFIG_FPUFT_EN Say Y to enable SEU protection of the FPU register file. The GRFPU will be protected using 8-bit parity without restart, while the GRFPU-Lite will be protected with 4-bit parity with restart. If disabled the FPU register file will be implemented using flip-flops.Cache memory error injectionCONFIG_RF_ERRINJ Say Y here to enable error injection in to the IU/FPU regfiles. Affects only simulation.Cache memory protection CONFIG_CACHE_FT_EN Enable SEU error-correction in the cache memories. Cache memory error injectionCONFIG_CACHE_ERRINJ Say Y here to enable error injection in to the cache memories. Affects only simulation.Leon3ft netlistCONFIG_LEON3_NETLIST Say Y here to use a VHDL netlist of the LEON3FT. This is only available in certain versions of grlib.IU assembly printingCONFIG_IU_DISAS Enable printing of executed instructions to the console.IU assembly printing in netlistCONFIG_IU_DISAS_NET Enable printing of executed instructions to the console also when simulating a netlist. NOTE: with this option enabled, it will not be possible to pass place&route.32-bit program countersCONFIG_DEBUG_PC32 Since the LSB 2 bits of the program counters always are zero, they are normally not implemented. If you say Y here, the program counters will be implemented with full 32 bits, making debugging of the VHDL model much easier. Turn of this option for synthesis or you will be wasting area.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -