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

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [soc/] [rtl/] [adv_debug_sys/] [Hardware/] [adv_dbg_if/] [bench/] [full_system/] [xsv_fpga_defines.v] - Blame information for rev 21

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 xianfeng
//////////////////////////////////////////////////////////////////////
2
////                                                              ////
3
////  OR1K test app definitions                                   ////
4
////                                                              ////
5
////  This file is part of the OR1K test application              ////
6
////  http://www.opencores.org/cores/or1k/xess/                   ////
7
////                                                              ////
8
////  Description                                                 ////
9
////  DEfine target technology etc. Right now FIFOs are available ////
10
////  only for Xilinx Virtex FPGAs. (TARGET_VIRTEX)               ////
11
////                                                              ////
12
////  To Do:                                                      ////
13
////   - nothing really                                           ////
14
////                                                              ////
15
////  Author(s):                                                  ////
16
////      - Damjan Lampret, damjan.lampret@opencores.org          ////
17
////                                                              ////
18
//////////////////////////////////////////////////////////////////////
19
////                                                              ////
20
//// Copyright (C) 2001 Authors                                   ////
21
////                                                              ////
22
//// This source file may be used and distributed without         ////
23
//// restriction provided that this copyright statement is not    ////
24
//// removed from the file and that any derivative work contains  ////
25
//// the original copyright notice and the associated disclaimer. ////
26
////                                                              ////
27
//// This source file is free software; you can redistribute it   ////
28
//// and/or modify it under the terms of the GNU Lesser General   ////
29
//// Public License as published by the Free Software Foundation; ////
30
//// either version 2.1 of the License, or (at your option) any   ////
31
//// later version.                                               ////
32
////                                                              ////
33
//// This source is distributed in the hope that it will be       ////
34
//// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
35
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
36
//// PURPOSE.  See the GNU Lesser General Public License for more ////
37
//// details.                                                     ////
38
////                                                              ////
39
//// You should have received a copy of the GNU Lesser General    ////
40
//// Public License along with this source; if not, download it   ////
41
//// from http://www.opencores.org/lgpl.shtml                     ////
42
////                                                              ////
43
//////////////////////////////////////////////////////////////////////
44
//
45
// CVS Revision History
46
//
47
// $Log: xsv_fpga_defines.v,v $
48
// Revision 1.3  2010-01-08 01:41:07  Nathan
49
// Removed unused, non-existant include from CPU behavioral model.  Minor text edits.
50
//
51
// Revision 1.2  2008/07/11 08:16:01  Nathan
52
// Ran through dos2unix
53
//
54
// Revision 1.1  2008/07/08 19:11:54  Nathan
55
// Added second testbench to simulate a complete system, including OR1200, wb_conbus, and onchipram.  Renamed sim-only testbench directory from verilog to simulated_system.
56
//
57
// Revision 1.4  2004/04/05 08:44:35  lampret
58
// Merged branch_qmem into main tree.
59
//
60
// Revision 1.2  2002/03/29 20:58:51  lampret
61
// Changed hardcoded address for fake MC to use a define.
62
//
63
// Revision 1.1.1.1  2002/03/21 16:55:44  lampret
64
// First import of the "new" XESS XSV environment.
65
//
66
//
67
//
68
 
69
//
70
// Define to target to Xilinx Virtex
71
//
72
//`define TARGET_VIRTEX
73
 
74
//
75
// Interrupts
76
//
77
`define APP_INT_RES1    1:0
78
`define APP_INT_UART    2
79
`define APP_INT_RES2    3
80
`define APP_INT_ETH     4
81
`define APP_INT_PS2     5
82
`define APP_INT_RES3    19:6
83
 
84
//
85
// Address map
86
//
87
`define APP_ADDR_DEC_W  3
88
`define APP_ADDR_SDRAM  `APP_ADDR_DEC_W'b001
89
`define APP_ADDR_DEC2_W  8
90
`define APP_ADDR_OCRAM  `APP_ADDR_DEC2_W'h00
91
`define APP_ADDR_DECP_W  8
92
//`define APP_ADDR_PERIP  `APP_ADDR_DECP_W'h99
93
`define APP_ADDR_VGA    `APP_ADDR_DECP_W'h97
94
`define APP_ADDR_ETH    `APP_ADDR_DECP_W'h92
95
`define APP_ADDR_AUDIO  `APP_ADDR_DECP_W'h9d
96
`define APP_ADDR_UART   `APP_ADDR_DECP_W'h90
97
`define APP_ADDR_PS2    `APP_ADDR_DECP_W'h94
98
`define APP_ADDR_RES1   `APP_ADDR_DECP_W'h9e
99
//`define APP_ADDR_RES2 `APP_ADDR_DECP_W'h9f
100
//`define APP_ADDR_FAKEMC       4'h6
101
 
102
// For simulation...
103
// `define DBG_IF_MODEL 1

powered by: WebSVN 2.1.0

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