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

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [libdbg64g/] [services/] [exec/] [cmd/] [cmd_csr.h] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 sergeykhbr
/**
2
 * @file
3
 * @copyright  Copyright 2016 GNSS Sensor Ltd. All right reserved.
4
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief      Read/write CSR register value.
6
 */
7
 
8
#ifndef __DEBUGGER_CMD_CSR_H__
9
#define __DEBUGGER_CMD_CSR_H__
10
 
11
#include "api_core.h"
12
#include "coreservices/icommand.h"
13
 
14
namespace debugger {
15
 
16
class CmdCsr : public ICommand  {
17
public:
18
    explicit CmdCsr(ITap *tap, ISocInfo *info);
19
 
20
    /** ICommand */
21
    virtual bool isValid(AttributeType *args);
22
    virtual void exec(AttributeType *args, AttributeType *res);
23
 
24
private:
25
    void to_string(AttributeType *args, AttributeType *res, AttributeType *out);
26
 
27
private:
28
};
29
 
30
}  // namespace debugger
31
 
32
#endif  // __DEBUGGER_CMD_CSR_H__

powered by: WebSVN 2.1.0

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