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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [vlog/] [amber23/] [a23_config_defines.vh] - Blame information for rev 82

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 csantifort
//////////////////////////////////////////////////////////////////
2
//                                                              //
3
//  Amber Configuration and Debug for the AMber 2 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) 2010 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 15 csantifort
`ifndef _A23_CONFIG_DEFINES
43
`define _A23_CONFIG_DEFINES
44 2 csantifort
 
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
//   2 ways -> 8KB  cache
49
//   3 ways -> 12KB cache
50
//   4 ways -> 16KB cache
51
//   8 ways -> 32KB cache
52 43 csantifort
`define A23_CACHE_WAYS 4
53 2 csantifort
 
54 73 csantifort
// Use ram-based register bank implementation
55
// `define A23_RAM_REGISTER_BANK
56
 
57 2 csantifort
// --------------------------------------------------------------------
58
// Debug switches 
59
// --------------------------------------------------------------------
60
 
61
// Enable the decompiler. The default output file is amber.dis
62 15 csantifort
`define A23_DECOMPILE
63 2 csantifort
 
64
// Co-processor 15 debug. Registers in here control the cache
65 15 csantifort
//`define A23_COPRO15_DEBUG
66 2 csantifort
 
67
// Cache debug
68 15 csantifort
//`define A23_CACHE_DEBUG
69 2 csantifort
 
70
// --------------------------------------------------------------------
71
 
72
 
73
// --------------------------------------------------------------------
74
// File Names
75
// --------------------------------------------------------------------
76 15 csantifort
`ifndef A23_DECOMPILE_FILE
77
    `define A23_DECOMPILE_FILE    "amber.dis"
78 2 csantifort
`endif
79
 
80
`endif
81
 

powered by: WebSVN 2.1.0

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