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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 361 julius
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
//// orpsoc-params                                                ////
4
////                                                              ////
5
//// Top level ORPSoC parameters 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
///////////////////////////
37
//                       //
38
// Peripheral parameters //
39
//                       //
40
///////////////////////////
41
 
42
// UART 0 params
43
parameter wbs_d_uart0_data_width = 8;
44
parameter uart0_wb_adr = 8'h90;
45
parameter uart0_data_width = 8;
46
parameter uart0_addr_width = 3;
47
 
48 506 julius
// Interrupt generator (intgen) params
49
parameter intgen_wb_adr = 8'he1;
50
parameter intgen_data_width = 8;
51
parameter intgen_addr_width = 1;
52
 
53 361 julius
// ROM
54
parameter wbs_i_rom0_data_width = 32;
55
parameter wbs_i_rom0_addr_width = 6;
56
parameter rom0_wb_adr = 4'hf;
57
 
58
//////////////////////////////////////////////////////
59
//                                                  //
60
// Wishbone bus parameters                          //
61
//                                                  //
62
//////////////////////////////////////////////////////
63
 
64
////////////////////////
65
//                    //
66
// Arbiter parameters //
67
//                    // 
68
////////////////////////
69
 
70
parameter wb_dw = 32; // Default Wishbone full word width
71
parameter wb_aw = 32; // Default Wishbone full address width
72
 
73
///////////////////////////
74
//                       //
75
// Instruction bus       //
76
//                       //
77
///////////////////////////
78
parameter ibus_arb_addr_match_width = 4;
79
// Slave addresses
80
parameter ibus_arb_slave0_adr = rom0_wb_adr; // ROM
81
parameter ibus_arb_slave1_adr = 4'h0;        // Main memory
82
 
83
///////////////////////////
84
//                       //
85
// Data bus              //
86
//                       //
87
///////////////////////////
88
// Has auto foward to last slave when no address hits
89
parameter dbus_arb_wb_addr_match_width = 8;
90
parameter dbus_arb_wb_num_slaves = 2;
91
// Slave addresses
92
parameter dbus_arb_slave0_adr = 4'h0; // Main memory (SDRAM/FPGA SRAM)
93
parameter dbus_arb_slave1_adr = 8'hxx; // Default slave - address don't care (X)
94
 
95
///////////////////////////////
96
//                           //
97
// Byte-wide peripheral bus  //
98
//                           //
99
///////////////////////////////
100
parameter bbus_arb_wb_addr_match_width = 8;
101 506 julius
parameter bbus_arb_wb_num_slaves = 2; // Update this when changing slaves!
102 361 julius
// Slave addresses
103
parameter bbus_arb_slave0_adr  = uart0_wb_adr;
104 506 julius
parameter bbus_arb_slave1_adr  = intgen_wb_adr;
105 361 julius
parameter bbus_arb_slave2_adr  = 0 /* UNASSIGNED */;
106
parameter bbus_arb_slave3_adr  = 0 /* UNASSIGNED */;
107
parameter bbus_arb_slave4_adr  = 0 /* UNASSIGNED */;
108
parameter bbus_arb_slave5_adr  = 0 /* UNASSIGNED */;
109
parameter bbus_arb_slave6_adr  = 0 /* UNASSIGNED */;
110
parameter bbus_arb_slave7_adr  = 0 /* UNASSIGNED */;
111
parameter bbus_arb_slave8_adr  = 0 /* UNASSIGNED */;
112
parameter bbus_arb_slave9_adr  = 0 /* UNASSIGNED */;
113
parameter bbus_arb_slave10_adr = 0 /* UNASSIGNED */;
114
parameter bbus_arb_slave11_adr = 0 /* UNASSIGNED */;
115
parameter bbus_arb_slave12_adr = 0 /* UNASSIGNED */;
116
parameter bbus_arb_slave13_adr = 0 /* UNASSIGNED */;
117
parameter bbus_arb_slave14_adr = 0 /* UNASSIGNED */;
118
parameter bbus_arb_slave15_adr = 0 /* UNASSIGNED */;
119
parameter bbus_arb_slave16_adr  = 0 /* UNASSIGNED */;
120
parameter bbus_arb_slave17_adr  = 0 /* UNASSIGNED */;
121
parameter bbus_arb_slave18_adr  = 0 /* UNASSIGNED */;
122
parameter bbus_arb_slave19_adr  = 0 /* UNASSIGNED */;
123
 
124
 
125
 
126
 

powered by: WebSVN 2.1.0

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