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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [include/] [orpsoc-defines.v] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 361 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 403 julius
`define BOARD_CLOCK_PERIOD 20
39 361 julius
 
40
// Included modules: define to include
41 397 julius
`define JTAG_DEBUG
42 361 julius
`define UART0
43 415 julius
`define RAM_WB
44 506 julius
`define INTGEN
45 361 julius
 
46
// end of included module defines - keep this comment line here
47
 
48
//
49
// Arbiter defines
50
//
51
 
52
// Uncomment to register things through arbiter (hopefully quicker design)
53
// Instruction bus arbiter
54
//`define ARBITER_IBUS_REGISTERING
55
`define ARBITER_IBUS_WATCHDOG
56
// Watchdog timeout: 2^(ARBITER_IBUS_WATCHDOG_TIMER_WIDTH+1) cycles
57
`define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 12
58
 
59
// Data bus arbiter
60
 
61
//`define ARBITER_DBUS_REGISTERING
62
`define ARBITER_DBUS_WATCHDOG
63
// Watchdog timeout: 2^(ARBITER_DBUS_WATCHDOG_TIMER_WIDTH+1) cycles
64
`define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 12
65
 
66
// Byte bus (peripheral bus) arbiter
67
// Don't really need the watchdog here - the databus will pick it up
68
//`define ARBITER_BYTEBUS_WATCHDOG
69
// Watchdog timeout: 2^(ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH+1) cycles
70
`define ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH 9
71
 

powered by: WebSVN 2.1.0

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