1 |
1327 |
jcastillo |
//////////////////////////////////////////////////////////////////////
|
2 |
|
|
//// ////
|
3 |
|
|
//// README.txt ////
|
4 |
|
|
//// ////
|
5 |
|
|
//// ////
|
6 |
|
|
//// This file is part of the SoC/OpenRISC Development Interface ////
|
7 |
|
|
//// http://www.opencores.org/cores/DebugInterface/ ////
|
8 |
|
|
//// ////
|
9 |
|
|
//// ////
|
10 |
|
|
//// Author(s): ////
|
11 |
|
|
//// Igor Mohor ////
|
12 |
|
|
//// igorm@opencores.org ////
|
13 |
|
|
//// ////
|
14 |
|
|
//// ////
|
15 |
|
|
//// All additional information is avaliable in this README.txt ////
|
16 |
|
|
//// file. ////
|
17 |
|
|
//// ////
|
18 |
|
|
//////////////////////////////////////////////////////////////////////
|
19 |
|
|
//// ////
|
20 |
|
|
//// Copyright (C) 2000,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: not supported by cvs2svn $
|
48 |
|
|
// Revision 1.2 2001/09/20 10:10:57 mohor
|
49 |
|
|
// Working version. Few bugs fixed, comments added.
|
50 |
|
|
//
|
51 |
|
|
// Revision 1.1.1.1 2001/09/13 13:49:19 mohor
|
52 |
|
|
// Initial official release.
|
53 |
|
|
//
|
54 |
|
|
// Revision 1.2 2001/06/01 22:22:35 mohor
|
55 |
|
|
// This is a backup. It is not a fully working version. Not for use, yet.
|
56 |
|
|
//
|
57 |
|
|
// Revision 1.1 2001/05/18 13:12:09 mohor
|
58 |
|
|
// Header changed. All additional information is now avaliable in this README.txt file.
|
59 |
|
|
//
|
60 |
|
|
//
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
PROJECT:
|
65 |
|
|
SoC/OpenRISC Development (debug) Interface
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
PROJECT AND DOCUMENTATION ON THE WEB:
|
69 |
|
|
|
70 |
|
|
The project that this files are part of is avaliable on the opencores
|
71 |
|
|
web page:
|
72 |
|
|
|
73 |
|
|
http://www.opencores.org/cores/DebugInterface/
|
74 |
|
|
|
75 |
|
|
Documentation can also be found there. For direct download of the
|
76 |
|
|
documentation go to:
|
77 |
|
|
|
78 |
|
|
http://www.opencores.org/cgi-bin/cvsget.cgi/dbg_interface/doc/DbgSupp.pdf
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
OVERVIEW (main Features):
|
84 |
|
|
|
85 |
|
|
Development Interface is used for development purposes
|
86 |
|
|
(Boundary Scan testing and debugging). It is an interface
|
87 |
|
|
between the RISC, peripheral cores and any commercial
|
88 |
|
|
debugger/emulator or BS testing device. The external
|
89 |
|
|
debugger or BS tester connects to the core via JTAG port.
|
90 |
|
|
The Development Port also contains a trace and support for
|
91 |
|
|
tracing the program flow, execution coverage and profiling
|
92 |
|
|
the code.
|
93 |
|
|
|
94 |
|
|
dbg_tb.v is a testbench file.
|
95 |
|
|
file_communication.v is used for simulating the whole design together with the
|
96 |
|
|
debugger through two files that make a JTAG interface
|
97 |
|
|
dbg_top.v is top level module of the development interface design
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
COMPATIBILITY:
|
102 |
|
|
|
103 |
|
|
- WISHBONE rev B.1
|
104 |
|
|
- IEEE 1149.1 (JTAG)
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
KNOWN PROBLEMS (limits):
|
109 |
|
|
- RISC changes Watchpoints and breakpoints on rising edge of the
|
110 |
|
|
Mclk clock signal. Simulation should do the same.
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
TO DO:
|
115 |
|
|
- Add a WISHBONE master support if needed
|
116 |
|
|
- Add support for boundary scan (This is already done, but not yet incorporated in the design)
|
117 |
|
|
|