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

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [trunk/] [Software/] [AdvancedWatchpointControl/] [src/] [advancedWatchpointControl/] [TargetTransaction.java] - Blame information for rev 54

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 54 nyawn
////////////////////////////////////////////////////////////////
2
//
3
// TargetTransaction.java
4
//
5
// Copyright (C) 2010 Nathan Yawn 
6
//                    (nyawn@opencores.org)
7
//
8
// This interface is implemented by objects which define
9
// specific RSP transactions, such as register read and write.
10
//
11
////////////////////////////////////////////////////////////////
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 General
20
// Public License as published by the Free Software Foundation;
21
// either version 3.0 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 General
31
// Public License along with this source; if not, download it 
32
// from http://www.gnu.org/licenses/gpl.html
33
//
34
////////////////////////////////////////////////////////////////
35 51 nyawn
package advancedWatchpointControl;
36
 
37
public interface TargetTransaction {
38
 
39
        // The RSP (or other encoding / sending algorithm) can
40
        // call this method to get the pre-formatted packet which should be
41
        // encoded and sent
42
        public String getDataToSend();
43
 
44
        // This should be called by the receiving portion of the RSP
45
        // algorithm each time a new character is received from the
46
        // network and decoded.  It returns true so long as it wants
47
        // another character.  It 
48
        public boolean receivePacket(String pkt);
49
 
50
}

powered by: WebSVN 2.1.0

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