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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [vlog/] [amber25/] [a25_config_defines.vh] - Blame information for rev 82

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 csantifort
//////////////////////////////////////////////////////////////////
2
//                                                              //
3
//  Amber Configuration and Debug for the Amber 25 Core         //
4
//                                                              //
5
//  This file is part of the Amber project                      //
6
//  http://www.opencores.org/project,amber                      //
7
//                                                              //
8
//  Description                                                 //
9
//  Contains a set of defines used to configure and debug       //
10
//  the Amber core                                              //
11
//                                                              //
12
//  Author(s):                                                  //
13
//      - Conor Santifort, csantifort.amber@gmail.com           //
14
//                                                              //
15
//////////////////////////////////////////////////////////////////
16
//                                                              //
17
// Copyright (C) 2011 Authors and OPENCORES.ORG                 //
18
//                                                              //
19
// This source file may be used and distributed without         //
20
// restriction provided that this copyright statement is not    //
21
// removed from the file and that any derivative work contains  //
22
// the original copyright notice and the associated disclaimer. //
23
//                                                              //
24
// This source file is free software; you can redistribute it   //
25
// and/or modify it under the terms of the GNU Lesser General   //
26
// Public License as published by the Free Software Foundation; //
27
// either version 2.1 of the License, or (at your option) any   //
28
// later version.                                               //
29
//                                                              //
30
// This source is distributed in the hope that it will be       //
31
// useful, but WITHOUT ANY WARRANTY; without even the implied   //
32
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //
33
// PURPOSE.  See the GNU Lesser General Public License for more //
34
// details.                                                     //
35
//                                                              //
36
// You should have received a copy of the GNU Lesser General    //
37
// Public License along with this source; if not, download it   //
38
// from http://www.opencores.org/lgpl.shtml                     //
39
//                                                              //
40
//////////////////////////////////////////////////////////////////
41
 
42
`ifndef _A25_CONFIG_DEFINES
43
`define _A25_CONFIG_DEFINES
44
 
45
// Cache Ways
46
// Changing this parameter is the recommended
47
// way to change the Amber cache size; 2, 3, 4 and 8 ways are supported.
48 35 csantifort
//
49 16 csantifort
//   2 ways -> 8KB  cache
50
//   3 ways -> 12KB cache
51
//   4 ways -> 16KB cache
52
//   8 ways -> 32KB cache
53 35 csantifort
//
54
//   e.g. if both caches have 8 ways, the total is 32KB icache + 32KB dcache = 64KB
55 16 csantifort
 
56 36 csantifort
`define A25_ICACHE_WAYS 4
57
`define A25_DCACHE_WAYS 4
58 35 csantifort
 
59
 
60 16 csantifort
// --------------------------------------------------------------------
61
// Debug switches 
62
// --------------------------------------------------------------------
63
 
64
// Enable the decompiler. The default output file is amber.dis
65
`define A25_DECOMPILE
66
 
67
// Co-processor 15 debug. Registers in here control the cache
68
//`define A25_COPRO15_DEBUG
69
 
70
// Cache debug
71
//`define A25_CACHE_DEBUG
72
 
73
// --------------------------------------------------------------------
74
 
75
 
76
// --------------------------------------------------------------------
77
// File Names
78
// --------------------------------------------------------------------
79
`ifndef A25_DECOMPILE_FILE
80
    `define A25_DECOMPILE_FILE    "amber.dis"
81
`endif
82
 
83
`endif
84
 

powered by: WebSVN 2.1.0

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