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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [generic/] [ft/] [rtl/] [verilog/] [include/] [orpsoc-defines.v] - Blame information for rev 483

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 483 julius
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
//// orpsoc-defines                                               ////
4
////                                                              ////
5
//// Top level ORPSoC defines file                                ////
6
////                                                              ////
7
//// Included in toplevel and testbench                           ////
8
////                                                              ////
9
//////////////////////////////////////////////////////////////////////
10
////                                                              ////
11
//// Copyright (C) 2009, 2010 Authors and OPENCORES.ORG           ////
12
////                                                              ////
13
//// This source file may be used and distributed without         ////
14
//// restriction provided that this copyright statement is not    ////
15
//// removed from the file and that any derivative work contains  ////
16
//// the original copyright notice and the associated disclaimer. ////
17
////                                                              ////
18
//// This source file is free software; you can redistribute it   ////
19
//// and/or modify it under the terms of the GNU Lesser General   ////
20
//// Public License as published by the Free Software Foundation; ////
21
//// either version 2.1 of the License, or (at your option) any   ////
22
//// later version.                                               ////
23
////                                                              ////
24
//// This source is distributed in the hope that it will be       ////
25
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
26
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
27
//// PURPOSE.  See the GNU Lesser General Public License for more ////
28
//// details.                                                     ////
29
////                                                              ////
30
//// You should have received a copy of the GNU Lesser General    ////
31
//// Public License along with this source; if not, download it   ////
32
//// from http://www.opencores.org/lgpl.shtml                     ////
33
////                                                              ////
34
//////////////////////////////////////////////////////////////////////
35
 
36
// Define board clock - main system clock period
37
// 20ns period = 50MHz freq.
38
`define BOARD_CLOCK_PERIOD 20
39
 
40
// Included modules: define to include
41
//`define JTAG_DEBUG
42
//`define UART0
43
`define RAM_WB
44
 
45
// end of included module defines - keep this comment line here
46
 
47
//
48
// Arbiter defines
49
//
50
 
51
// Uncomment to register things through arbiter (hopefully quicker design)
52
// Instruction bus arbiter
53
//`define ARBITER_IBUS_REGISTERING
54
`define ARBITER_IBUS_WATCHDOG
55
// Watchdog timeout: 2^(ARBITER_IBUS_WATCHDOG_TIMER_WIDTH+1) cycles
56
`define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 12
57
 
58
// Data bus arbiter
59
 
60
//`define ARBITER_DBUS_REGISTERING
61
`define ARBITER_DBUS_WATCHDOG
62
// Watchdog timeout: 2^(ARBITER_DBUS_WATCHDOG_TIMER_WIDTH+1) cycles
63
`define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 12
64
 
65
// Byte bus (peripheral bus) arbiter
66
// Don't really need the watchdog here - the databus will pick it up
67
//`define ARBITER_BYTEBUS_WATCHDOG
68
// Watchdog timeout: 2^(ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH+1) cycles
69
`define ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH 9
70
 

powered by: WebSVN 2.1.0

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