OpenCores
URL https://opencores.org/ocsvn/mips_enhanced/mips_enhanced/trunk

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [bin/] [tkconfig/] [config.help] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
 
2
Name of configuration
3
CONFIG_CFG_NAME
4
  The VHDL name of the created configuration record. Must be a valid
5
  VHDL identifier.
6
 
7
Prompt for target technology
8
CONFIG_SYN_GENERIC
9
  Selects the target technology. The following are available:
10
 
11
  - Generic: Generic FPGA or ASIC targets if your synthesis tool
12
    is capable of infering RAMs and pads automatically.
13
 
14
  - ATC35: Atmel-Nantes 0.35 um rad-hard CMOS
15
 
16
  - ATC25: Atmel-Nantes 0.25 um rad-hard CMOS
17
 
18
  - ATC18: Atmel-Nantes 0.18 um rad-hard CMOS with Virage ram cells
19
 
20
  - FS90:  UMC with Faraday FS90 libraries
21
 
22
  - UMC-0.18 : UMC 0.18 um CMOS with Virtual Silicon libraries
23
 
24
  - TSMC-0.25: TSMC 0.25 um CMOS
25
 
26
  - Xilinx-Virtex: Xilinx Virtex libraries
27
 
28
  - Xilinx-Virtex2: Xilinx Virtex2 libraries
29
 
30
  - Actel ProAsic and Axellerator FPGAs
31
 
32
Infer ram
33
CONFIG_SYN_INFER_RAM
34
  Say Y here if you want the synthesis tool to infer your
35
  RAMs for cache memories and trace buffer. Say N to directly
36
  instantiate technology-specific RAM cells from the selected
37
  target technology package (tech_xxx.vhd).
38
 
39
Infer register file
40
CONFIG_SYN_INFER_REGF
41
  Say Y here if you want the synthesis tool to infer the RAMS in
42
  the register file. Say N to directly instantiate technology-
43
  specific RAM cells from the selected target technology package
44
  (tech_xxx.vhd).
45
 
46
Infer rom
47
CONFIG_SYN_INFER_ROM
48
  Say Y here if you want the synthesis tool to infer the
49
  (optional) internal boot ROM. Say N to directly instantiate
50
  technology-specific ROM cells from the selected target
51
  technology package (tech_xxx.vhd). Most users should say Y
52
  here since only the Virtex package provides support for hard
53
  ROM cells, and then only through Coregen.
54
 
55
Infer pads
56
CONFIG_SYN_INFER_PADS
57
  Say Y here if you want the synthesis tool to infer pads.
58
  Say N to directly instantiate technology-specific pads from
59
  the selected target technology package (tech_xxx.vhd).
60
 
61
Infer multiplier
62
CONFIG_SYN_INFER_MULT
63
  Say Y here if you want the synthesis tool to infer a multiplier
64
  for the UMUL/SMUL instructions. Say N to use a structural
65
  multiplier provided in multlib.vhd. FPGA targets should say Y
66
  here, ASIC targets should say N unless your synthesis tool can
67
  infer some really fast multiplier core.
68
 
69
Use dual-port RAMS for DSU trace buffer
70
CONFIG_SYN_TRACE_DPRAM
71
  Say Y here if you want to use dual-port RAMs instead of single-port
72
  RAMs for the DSU trace buffer. This will reduce the total number of
73
  RAM blocks. Note that the target tech package must have support for
74
  DPRAM's, which is currently only implemented for Virtex, ATC25, and
75
  TSMC025.
76
 
77
Improve register file write timing
78
CONFIG_SYN_RFTYPE
79
  If you say Y here, the register file write timing will be improved
80
  by clocking the write port on the rising edge, providing a whole
81
  cycle for write strobe generation. If you say N, both read and write
82
  ports will be clocked on the falling edge of the clock, simplifying
83
  timing analysis.
84
 
85
  This option is not implemented on all targets. Say Y when possible.
86
 
87
Use Virtex CLKDLL for clock synchronisation
88
CONFIG_CLK_VIRTEX
89
  Valid for all Spartan and Virtex targets. If enabled, the input
90
  clock will be re-synchronized using a Virtex CLKDLL macro. This
91
  will improve clock-to-output delays and allow scaling the clock
92
  with a factor 0.5, 1.0, or 2.0. This option also re-synchronizes
93
  the SDRAM clock, allowing the use of the SDRAM controller without
94
  the inverted-clock option. For this to work, connect SDCLK to PLLREF.
95
 
96
  WARNING: This option cannot be simulated unless you also compile
97
  the VHDL component libraries for the Virtex macro blocks (comes
98
  with the Xilinx ISE tool). Also, the input clock must be at
99
  least 24 MHz for the CKLDLL to work.
100
 
101
System clock multiplier
102
CONFIG_CLKDLL_1_2
103
  Scale the input clock with a factor of 0.5, 1.0, or 2.0. Useful
104
  when the target board has an oscillator with a too high (or low)
105
  frequency for your design. The divided clock will be used as the
106
  main clock for the whole processor (except PCI and ethernet clocks).
107
 
108
Use Virtex-II DCM for clock synchronisation
109
CONFIG_CLK_VIRTEX2
110
  Valid for Spartan2/Spartan3/Virtex2 targets. If enabled, the input
111
  clock will be re-synchronized using a Virtex DCM macro. This
112
  will improve clock-to-output delays and allow scaling the clock
113
  frequency. This option also re-synchronizes the SDRAM clock,
114
  allowing the use of the SDRAM controller without the inverted-clock
115
  option. For this to work, connect SDCLK to PLLREF.
116
 
117
  WARNING: This option cannot be simulated unless you also compile
118
  the VHDL component libraries for the Virtex macro blocks (comes
119
  with the Xilinx ISE tool).
120
 
121
System clock multiplier
122
CONFIG_DCM_2_3
123
  Scale the input clock with a factor of 2/3, 3/4, 1, 4/3, 3/2,
124
  2, 3, and 4. Useful when the target board has an oscillator with a
125
  too high (or low) frequency for your design. The divided clock will
126
  be used as the main clock for the whole processor (except PCI and
127
  ethernet clocks). NOTE: the resulting frequency must be at least
128
  24 MHz or the DCM might not work (see Virtex-II datasheet).
129
 
130
Enable CLKDLL for PCI clock
131
CONFIG_PCI_DLL
132
  Say Y here to re-synchronize the PCI clock using a
133
  Virtex BUFGDLL macro. Will improve PCI clock-to-output
134
  delays on the expense of input-setup requirements.
135
 
136
Use PCI clock system clock
137
CONFIG_PCI_SYSCLK
138
  Say Y here to the PCI clock to generate the system clock.
139
  The PCI clock can be scaled using the DCM or CLKDLL to
140
  generate a suitable processor clock.
141
 
142
Number of SPARC register windows
143
CONFIG_IU_NWINDOWS
144
  The SPARC architecture (and LEON) allows 2 - 32 register windows.
145
  However, any number except 8 will require that you modify and
146
  recompile your run-time system or kernel. Unless you know what
147
  you are doing, use 8.
148
 
149
SPARC V8 multiply and divide instruction
150
CONFIG_IU_V8MULDIV
151
  If you say Y here, the SPARC V8 multiply and divide instructions
152
  will be implemented. The instructions are: UMUL, UMULCC, SMUL,
153
  SMULCC, UDIV, UDIVCC, SDIV, SDIVCC. In code containing frequent
154
  integer multiplications and divisions, significant performance
155
  increase can be achieved. Emulated floating-point operations will
156
  also benefit from this option.
157
 
158
  By default, the sparc-rtems-gcc compiler does not emit these
159
  instructions and your code must be compiled with -mv8 to see any
160
  performance increase. On the other hand, code compiled with -mv8
161
  will generate an illegal instruction trap when executed on processors
162
  with this option disabled.
163
 
164
  The divider consumes approximately 2 kgates, the size of the
165
  multiplier depends on the latency.
166
 
167
Multiplier latency
168
CONFIG_IU_MUL_LATENCY_1
169
  The multiplier used for UMUL/SMUL instructions can be implemented
170
  with 1, 2, 4, 5 or 35 cycles latency. Lower latency gives higher
171
  multiplication performance, but increases area and might reduce
172
  the maximum clock frequency. The best area/timing/performance
173
  compromise is usually 4 or 5. A latency of 5 cycles will use the
174
  same multiplier (16x16) as for 4 cycles, but with a pipeline register
175
  to improve timing.
176
 
177
Multiplier latency
178
CONFIG_IU_MUL_MAC
179
  If you say Y here, the SPARC V8e UMAC/SMAC (multiply-accumulate)
180
  instructions will be enabled. The instructions implement a
181
  single-cycle 16x16->32 bits multiply with a 40-bits accumulator.
182
  The details of these instructions can be found in the LEON manual,
183
  section 2.4. Note that the multiplier must be configured with 4
184
  cycles latency for this option to be enabled.
185
 
186
Load latency
187
CONFIG_IU_LDELAY
188
  Defines the pipeline load delay (= pipeline cycles before the data
189
  from a load instruction is available for the next instruction).
190
  One cycle gives best performance, but might create a critical path
191
  on targets with slow (data) cache memories. A 2-cycle delay can
192
  improve timing but will reduce performance with about 5 - 8%.
193
  All FPGA targets and most ASIC targets do fine with 1.
194
 
195
Icc interlock
196
CONFIG_IU_ICCHOLD
197
  If you say Y here, a pipeline stall cycle will be introduced when
198
  an instruction that modifies the condition codes is directly followed
199
  by a branch instruction that uses these codes (BICC, TICC). The option
200
  reduces the performance with about 5% but significantly improves timing
201
  on FPGA targets. Recommendation: say Y on FPGA targets, N on ASIC targets.
202
 
203
Fast jump address generation
204
CONFIG_IU_FASTJUMP
205
  If you say Y here, jump address generation will accelerated by
206
  using a separate address adder. Will improve timing on most targets
207
  to the cost of approximately 300 gates.
208
 
209
Fast instruction decoding
210
CONFIG_IU_FASTDECODE
211
  If you say Y here, instruction decode timing will be improved by adding
212
  some extra parallel logic. Useful when you have a critical path
213
  ending at the register file read address ports.
214
 
215
Register file power saving
216
CONFIG_IU_RFPOW
217
  If you say Y here, the read ports of the register file will be disabled
218
  when not used in an attempt to save power. Only implemented on TSMC-0.25,
219
  UMC-0.18 and UMC-FS90 targets. Might lead to a critical path to the
220
  register file read enable signal. If so, say N and the read ports will
221
  be permanently enabled. Also say N if saving a few gates feels better
222
  than saving a few milli-Watts.
223
 
224
Hardware watchpoints
225
CONFIG_IU_WATCHPOINTS
226
  The processor can have up to 4 hardware watchpoints, allowing to
227
  create both data and instruction breakpoints at any memory location,
228
  also in PROM. Each watchpoint will use approximately 500 gates.
229
  Use 0 to disable the watchpoint function.
230
 
231
Processor implementation ID
232
CONFIG_IU_IMPL
233
  Each SPARC processor has a 4-bit implementation ID hardcoded in the
234
  processor status register (%psr). You should not use numbers 0 - 9
235
  which are used by existing implementations. The value 10 will be
236
  assigned to Gaisler Research use this value unless you have a
237
  compelling reason not to. In any case, do NOT use 1 since this
238
  number is used by ERC32 and will cause applications compiled with
239
  LECCS to fail.
240
 
241
Processor version ID
242
CONFIG_IU_VER
243
  Each SPARC processor has a 4-bit version ID hardcoded in the
244
  processor status register (%psr). Use 2 for LEON2.
245
 
246
Floating-point enable
247
CONFIG_FPU_ENABLE
248
  Say Y here to enable the floating-point unit. Note that only the
249
  (incomplete) LTH FPU is provided with the LEON VHDL model. The
250
  Gaisler GRFPU and the Meiko FPU are commercial cores and must be
251
  obtained separately.
252
 
253
FPU selection
254
CONFIG_FPU_GRFPU
255
  Select between Gaisler Research's GRFPU, the Sun Meiko FPU core or
256
  the open-source LTH core from Lund's University. The Meiko and GRFPU
257
  are fully IEEE-754 compatible and supports all SPARC FPU instructions.
258
  The LTH FPU also supports IEEE-754, but does not implement the FMUL,
259
  FDIV and FSQRT instructions and cannot (yet) be used for general
260
  floating-point code.
261
 
262
FPU version ID
263
CONFIG_FPU_VER
264
  Each SPARC FPU has a 3-bit version ID hardcoded in the FPU status
265
  register (%fsr). Has no impact on operation or any (known) software.
266
  Use as you like, staying with 0 is safe.
267
 
268
Co-processor enable
269
CONFIG_CP_ENABLE
270
  Say Y here to enable the interface to a (custom) co-processor unit.
271
  Unless you actually want to add your own co-processor, say N.
272
 
273
Co-processor configuration
274
CONFIG_CP_CFG
275
  The VHDL name of the co-processor configuration to be used. Should
276
  exist in target.vhd.
277
 
278
Instruction cache associativity
279
CONFIG_ICACHE_ASSO1
280
  The instruction cache can be implemented as a multi-set cache with
281
  1 - 4 sets. Higher associativity usually increases the cache hit
282
  rate and thereby the performance. The downside is higher power
283
  consumption and increased gate-count for tag comparators.
284
 
285
  Note that a 1-set cache is effectively a direct-mapped cache.
286
 
287
Instruction cache set size
288
CONFIG_ICACHE_SZ1
289
  The size of each set in the instuction cache (kbytes). Valid values
290
  are 1 - 64 in binary steps. Note that the full range is only supported
291
  by the generic and virtex2 targets. Most target packages are limited
292
  to 2 - 16 kbyte. Large set size gives higher performance but might
293
  affect the maximum frequency (on ASIC targets). The total instruction
294
  cache size is the number of set multiplied with the set size.
295
 
296
Instruction cache line size
297
CONFIG_ICACHE_LZ16
298
  The instruction cache line size. Can be set to either 16 or 32
299
  bytes per line. Instruction caches typically benefit from larger
300
  line sizes, but on small caches, it migh be better with 16 bytes/line
301
  to limit eviction miss rate.
302
 
303
Instruction cache replacement algorithm
304
CONFIG_ICACHE_ALGORND
305
  Cache replacement algorithm for caches with 2 - 4 sets. The 'random'
306
  algorithm selects the set to evict randomly. The least-recently-used
307
  (LRR) algorithm evicts the set least recently replaced. The least-
308
  recently-used (LRU) algorithm evicts the set least recently accessed.
309
  The random algorithm uses a simple 1- or 2-bit counter to select
310
  the eviction set and has low area overhead. The LRR scheme uses one
311
  extra bit in the tag ram and has therefore also low area overhead.
312
  However, the LRR scheme can only be used with 2-set caches. The LRU
313
  scheme has typically the best performance but also highest area overhead.
314
  A 2-set LRU uses 1 flip-flop per line, a 3-set LRU uses 3 flip-flops
315
  per line, and a 4-set LRU uses 5 flip-flops per line to store the access
316
  history.
317
 
318
Instruction cache locking
319
CONFIG_ICACHE_LOCK
320
  Say Y here to enable cache locking in the instruction cache.
321
  Locking can be done on cache-line level, but will increase the
322
  width of the tag ram with one bit. If you don't know what
323
  locking is good for, it is safe to say N.
324
 
325
Data cache associativity
326
CONFIG_DCACHE_ASSO1
327
  The data cache can be implemented as a multi-set cache with
328
  1 - 4 sets. Higher associativity usually increases the cache hit
329
  rate and thereby the performance. The downside is higher power
330
  consumption and increased gate-count for tag comparators.
331
 
332
  Note that a 1-set cache is effectively a direct-mapped cache.
333
 
334
Data cache set size
335
CONFIG_DCACHE_SZ1
336
  The size of each set in the data cache (kbytes). Valid values are
337
  1 - 64 in binary steps. Note that the full range is only supported
338
  by the generic and virtex2 targets. Most target packages are limited
339
  to 2 - 16 kbyte. A large cache gives higher performance but the
340
  data cache is timing critical an a too large setting might affect
341
  the maximum frequency (on ASIC targets). The total data cache size
342
  is the number of set multiplied with the set size.
343
 
344
Data cache line size
345
CONFIG_DCACHE_LZ16
346
  The data cache line size. Can be set to either 16 or 32 bytes per
347
  line. A smaller line size gives better associativity and higher
348
  cache hit rate, but requires a larger tag memory.
349
 
350
Data cache replacement algorithm
351
CONFIG_DCACHE_ALGORND
352
  See the explanation for instruction cache replacement algorithm.
353
 
354
Data cache locking
355
CONFIG_DCACHE_LOCK
356
  Say Y here to enable cache locking in the data cache.
357
  Locking can be done on cache-line level, but will increase the
358
  width of the tag ram with one bit. If you don't know what
359
  locking is good for, it is safe to say N.
360
 
361
Data cache snooping
362
CONFIG_DCACHE_SNOOP
363
  Say Y here to enable data cache snooping on the AHB bus. Is only
364
  useful if you have additional AHB masters such as the DSU or a
365
  target PCI interface. Note that the target technology must support
366
  dual-port RAMs for this option to be enabled. Dual-port RAMS are
367
  currently supported on Virtex/2, ATC25, ATC18 and TSMC025 targets.
368
 
369
Data cache snooping implementation
370
CONFIG_DCACHE_SNOOP_SLOW
371
  Selects the snooping implementation. Use 'slow' if you don't have
372
  AHB slaves in cacheable areas which are capable of supporting
373
  zero-waitstates non-sequential write accesses. Otherwise use 'fast'
374
  and suffer a few kgates extra area.
375
 
376
Fast read-data generation
377
CONFIG_DCACHE_RFAST
378
  Say Y here to improve the data read timing in multi-set caches.
379
  FPGA implementations usually do fine with N, while ASIC
380
  implementations tuned for maximum frequency should say Y. Increases
381
  the area with about 200 gates per set.
382
 
383
Fast write-data generation
384
CONFIG_DCACHE_WFAST
385
  Say Y here to improve the timing of the data inputs to the data
386
  cache data memory in multi-set caches. FPGA implementations
387
  usually do fine with N, while ASIC implementations tuned for
388
  maximum frequency should say Y. Increases the area with about
389
  200 gates per set.
390
 
391
Local data ram
392
CONFIG_DCACHE_LRAM
393
  Say Y here to add a local ram to the data cache controller.
394
  Accesses to the ram (load/store) will be performed at 0 waitstates
395
  and store data will never be written back to the AHB bus.
396
 
397
Size of local data ram
398
CONFIG_DCACHE_LRAM_SZ1
399
  Defines the size of the local data ram in Kbytes. Note that most
400
  technology libraries do not support larger rams than 16 Kbyte.
401
 
402
Start address of local data ram
403
CONFIG_DCACHE_LRSTART
404
  Defines the 8 MSB bits of start address of the local data ram.
405
  By default set to 8f (start address = 0x8f000000), but any value
406
  (except 0) is possible. Note that the local data ram 'shadows'
407
  a 16 Mbyte block of the address space.
408
 
409
MMU enable
410
CONFIG_MMU_ENABLE
411
  Say Y here to enable the Memory Management Unit.
412
 
413
MMU split icache/dcache table lookaside buffer
414
CONFIG_MMU_COMBINED
415
  Select "combined" for a combined icache/dcache table lookaside buffer,
416
  "split" for a split icache/dcache table lookaside buffer
417
 
418
MMU tlb replacement scheme
419
CONFIG_MMU_REPARRAY
420
  Select "LRU" to use the "least recently used" algorithm for TLB
421
  replacement, or "Increment" for a simple incremental replacement
422
  scheme.
423
 
424
Combined i/dcache tlb
425
CONFIG_MMU_I2
426
  Select the number of entries for the instruction TLB, or the
427
  combined icache/dcache TLB if such is used.
428
 
429
Split tlb, dcache
430
CONFIG_MMU_D2
431
  Select the number of entries for the dcache TLB.
432
 
433
8-bit memory support
434
CONFIG_MCTRL_8BIT
435
  If you say Y here, the PROM/SRAM memory controller will support
436
  8-bit mode, i.e. operate from 8-bit devices as if they were 32-bit.
437
  Say N to save a few hundred gates.
438
 
439
16-bit memory support
440
CONFIG_MCTRL_16BIT
441
  If you say Y here, the PROM/SRAM memory controller will support
442
  16-bit mode, i.e. operate from 16-bit devices as if they were 32-bit.
443
  Say N to save a few hundred gates.
444
 
445
Write strobe feedback
446
CONFIG_MCTRL_WFB
447
  If you say Y here, the PROM/SRAM write strobes (WRITEN, WEN) will
448
  be used to enable the data bus drivers during write cycles. This
449
  will guarantee that the data is still valid on the rising edge of
450
  the write strobe. If you say N, the write strobes and the data bus
451
  drivers will be clocked on the rising edge, potentially creating
452
  a hold time problem in external memory or I/O. However, in all
453
  practical cases, there is enough capacitance in the data bus lines
454
  to keep the value stable for a few (many?) nano-seconds after the
455
  buffers have been disabled, making it safe to say N and remove a
456
  combinational path in the netlist that might be difficult to
457
  analyze.
458
 
459
Write strobe feedback
460
CONFIG_MCTRL_5CS
461
  If you say Y here, the 5th (RAMSN[4]) SRAM chip select signal will
462
  be enabled. If you don't intend to use it, say N and save some gates.
463
 
464
SDRAM controller enable
465
CONFIG_MCTRL_SDRAM
466
  Say Y here to enabled the PC100/PC133 SDRAM controller. If you don't
467
  intend to use SDRAM, say N and save about 1 kgates.
468
 
469
SDRAM controller inverted clock
470
CONFIG_MCTRL_SDRAM_INVCLK
471
  If you say Y here, the SDRAM clock will be inverted in respect to the
472
  system clock and the SDRAM signals. This will limit the SDRAM frequency
473
  to 50/66 MHz, but has the benefit that you will not need a PLL to
474
  generate the SDRAM clock. On FPGA targets, say Y. On ASIC targets,
475
  say N and tell your foundry to balance the SDRAM clock output.
476
 
477
SDRAM separate address buses
478
CONFIG_MCTRL_SDRAM_SEPBUS
479
  Say Y here if your SDRAM is connected through separate address
480
  and data buses (SA & SD). This is the case on the GR-CPCI-XC2V6000
481
  board, but not on the GR-PCI-XC2V3000 or Avnet XCV1500E boards.
482
 
483
Default AHB master
484
CONFIG_AHB_DEFMST
485
  Sets the default AHB master (see AMBA 2.0 specification for definition).
486
  Should not be set to a value larger than the number of AHB masters - 1.
487
  For highest processor performance, leave it at 0.
488
 
489
Support AHB split-transactions
490
CONFIG_AHB_SPLIT
491
  Say Y here to enable AHB split-transaction support in the AHB arbiter.
492
  Unless you actually have an AHB slave that can generate AHB split
493
  responses, say N and save some gates. None of the AHB slaves provided
494
  with LEON generates split, so N is a safe choice.
495
 
496
AHB status register enable
497
CONFIG_PERI_AHBSTAT
498
  If you want the AHB status register functionality say Y here.
499
  The register will catch the address and parameters of AHB transfers
500
  that are terminated with an error response. Saying N will save
501
  about 500 gates.
502
 
503
RAM write-protectionenable
504
CONFIG_PERI_WPROT
505
  If you want to enable RAM write protection (LEON manual 7.13) say Y here.
506
  Otherwise say N and save 1 kgates.
507
 
508
LEON configuration register
509
CONFIG_PERI_LCONF
510
  Enables the LEON configuration register that shows how the model was
511
  configured. The register is necessary for the test benches to run, and
512
  also needed by applications compiled with LECCS. Always say Y.
513
 
514
Secondary interrupt controller enable
515
CONFIG_PERI_IRQ2
516
  Say Y here to enable the secondary interrupt controller (LEON
517
  manual 6.3). Routing of the interrupt sources is done in mcore.vhd.
518
  It is safe to say N.
519
 
520
Secondary interrupt controller configuration
521
CONFIG_PERI_IRQ2_CFG
522
  The VHDL name of the secondary interrupt controller configuration
523
  to be used. Should exist in target.vhd.
524
 
525
Watchdog enable
526
CONFIG_PERI_WDOG
527
  Say Y here to enable the watchdog functionallity in the timer module.
528
  Unless you need a watchdog, say N and save 200 gates.
529
 
530
On-chip ram
531
CONFIG_AHBRAM_ENABLE
532
  Say Y here to add a block on on-chip ram to the AHB bus. The ram
533
  will be attached at address 0x60000000.
534
 
535
On-chip ram size
536
CONFIG_AHBRAM_SZ1
537
  Set the size of the on-chip AHB ram. The ram is infered/instantiated
538
  as four byte-wide ram slices to allow byte and half-word write
539
  accesses. It is therefore essential that the target package can
540
  infer byte-wide rams. This is currently supported on the generic,
541
  virtex, virtex2, proasic and axellerator targets.
542
 
543
DSU enable
544
CONFIG_DSU_ENABLE
545
  The debug support unit (DSU) allows non-intrusive debugging and tracing
546
  of both executed instructions and AHB transfers. If you want to enable
547
  the DSU, say Y here and select the configuration below.
548
 
549
Trace buffer enable
550
CONFIG_DSU_TRACEBUF
551
  Say Y to enable the trace buffer. The buffer is not necessary for
552
  debugging, only for tracing instructions and data transfers.
553
 
554
Enable mixed tracing
555
CONFIG_DSU_MIXED_TRACE
556
  If you say Y here, simultaneous instruction and AHB tracing will be
557
  possible. A N will still allow tracing of both, but not simultaneously.
558
 
559
Size of trace buffer
560
CONFIG_DSU_TRACESZ64
561
  Select the number of entries on the trace buffer. For each entry,
562
  16 bytes (128 bits) will be needed. A 128-entry buffer will need
563
  2 kbyte.
564
 
565
PCI interface enable
566
CONFIG_PCI_ENABLE
567
  To enable a PCI interface, say Y here.
568
 
569
PCI interface type
570
CONFIG_PCI_TARGET
571
  Three PCI cores are provided with this version of Leon: a simple
572
  target-only interface without fifos, a fast target interface with
573
  configurable fifos, and a full master-target core with fifos.
574
  The simple target-only interface is small and robust, and is suitable
575
  to be used for DSU communications via PCI. The other two cores core
576
  are suitable when high transfer rates or a master interface are needed.
577
 
578
PCI trace buffer
579
CONFIG_PCI_TRACE
580
  The PCI trace buffer implements a simple on-chip logic analyzer
581
  to trace the PCI signals. The PCI AD bus and most control signals
582
  are stored in a circular buffer, and can be read out by the DSU
583
  or any other AHB master. See the manual for detailed operation.
584
  Only available for target technologies with dual-port rams.
585
 
586
PCI trace buffer depth
587
CONFIG_PCI_TRACE256
588
  Select the number of entries in the PCI trace buffer. Each entry
589
  will use 6 bytes of on-chip (block) ram.
590
 
591
PCI FIFO depth
592
CONFIG_PCI_FIFO8
593
  The number words in the PCI FIFO buffers in the master-target
594
  core. The master interface uses four 33-bit wide FIFOs, while the
595
  target interface uses two.
596
 
597
Ethernet MAC enable
598
CONFIG_ETH_ENABLE
599
  Say Y here to enable a Ethernet MAC from OpenCores. The control
600
  registers of the MAC will be mapped to 0xb0000000.
601
 
602
Ethernet MAC transmitt FIFO depth
603
CONFIG_ETH_TXFIFO
604
  The number of 32-bit words in the transmitt FIFO. 8 words is a
605
  good compromise.
606
 
607
Ethernet MAC receive FIFO depth
608
CONFIG_ETH_RXFIFO
609
  The number of 32-bit words in the receiver FIFO. 8 words is a
610
  good compromise.
611
 
612
Ethernet MAC burts length
613
CONFIG_ETH_BURST
614
  The length of the burst on the AHB when moving data to and from
615
  the FIFOs. A good compromise is half of the FIFO depth.
616
 
617
Fault-tolerance enable
618
CONFIG_FT_ENABLE
619
  Say Y here to enable the fault-tolerance features in LEON-FT. If you
620
  only have access to the the public LGPL model, say N or the model
621
  will not compile. If you do have the LEON-FT model, say Y here
622
  even if you say N to all other options.
623
 
624
Boot selection
625
CONFIG_BOOT_EXTPROM
626
  The processor can be configured to boot from external memory, internal
627
  ROM, or both. The internal ROM contains by default the PMON monitor
628
  (LEON manual 11.8). If the 'both' option is selected, boot source will
629
  be controlled through PIO[4].
630
 
631
Default RAM read waitstates
632
CONFIG_BOOT_RWS
633
  If booting from internal ROM is selected, the memory controller will
634
  automatically initialise the SRAM read waitstates setting with this
635
  value (valid range is 0 - 3).
636
 
637
Default RAM write waitstates
638
CONFIG_BOOT_WWS
639
  If booting from internal ROM is selected, the memory controller will
640
  automatically initialise the SRAM write waitstates setting with this
641
  value (valid range is 0 - 3).
642
 
643
System clock
644
CONFIG_BOOT_SYSCLK
645
  If booting from internal ROM is selected, this value should reflect
646
  the system clock frequency. This will allow proper default
647
  initialisation of the timer unit and UART baud-rate generation.
648
 
649
UART baud rate
650
CONFIG_BOOT_BAUDRATE
651
  If booting from internal ROM is selected, use this value to
652
  automatically set the UART baud-rate.
653
 
654
Select external baud-rate
655
CONFIG_BOOT_EXTBAUD
656
  If you say Y here and booting from internal ROM is selected, the UART
657
  baud-rate scaler register will be initialised from PIO[7:0].
658
 
659
Internal ROM addres bits
660
CONFIG_BOOT_PROMABITS
661
  Defines the with of the internal ROM address bus. 11 bits is enough
662
  for 2 kbytes.
663
 
664
UART debugging
665
CONFIG_DEBUG_UART
666
  During simulation, the output from the UARTs is printed on the
667
  simulator console. Since the ratio between the system clock and
668
  UART baud-rate is quite high, simulating UART output will be very
669
  slow. If you say Y here, the UARTs will print a character as soon
670
  as it is stored in the transmitter data register. The transmitter
671
  ready flag will be permanently set, speeding up simulation. However,
672
  the output on the UART tx line will be garbled.  Has not impact on
673
  synthesis, but will cause the LEON test bench to fail.
674
 
675
IU register tracing
676
CONFIG_DEBUG_IURF
677
  If you say Y here, all writes to the integer unit register file will be
678
  printed on the simulator console.
679
 
680
FPU register tracing
681
CONFIG_DEBUG_FPURF
682
  If you say Y here, all writes to the floating-point unit register file
683
  will be printed on the simulator console.
684
 
685
Continue on reset trap
686
CONFIG_DEBUG_NOHALT
687
  The SPARC standard mandates that when error mode is entered,
688
  the processor should be halted. If you say Y here, a reset trap
689
  (tt = 0x0) will be take on error mode and the processor will
690
  not be halted. Use only for testing, since it will not be
691
  possible to stop the processor with this option enabled!
692
 
693
32-bit program counters
694
CONFIG_DEBUG_PC32
695
  Since the LSB 2 bits of the program counters always are zero, they are
696
  normally not implemented. If you say Y here, the program counters will
697
  be implemented with full 32 bits, making debugging of the VHDL model
698
  much easier. Turn of this option for synthesis or you will be wasting
699
  area.
700
 
701
 
702
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.