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 361

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

powered by: WebSVN 2.1.0

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