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-params.v] - Blame information for rev 483

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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