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

Subversion Repositories scarm

[/] [scarm/] [trunk/] [src/] [scCDP.cpp] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zhong
// scCDP.cpp: implementation of the scCDP class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
 
5
#include "scCDP.h"
6
 
7
//////////////////////////////////////////////////////////////////////
8
// Construction/Destruction
9
//////////////////////////////////////////////////////////////////////
10
 
11
scCDP::scCDP(uint32_t)
12
{
13
 cout<<"CDP uncomplete"<<endl;
14
}
15
 
16
scCDP::~scCDP()
17
{
18
 
19
}
20
const char* scCDP::kind_string="CDP";
21
 
22
const char* scCDP::kind()
23
{
24
  return kind_string;
25
}
26
 
27
COND scCDP::cond()
28
{
29
 return COND(ir.cond);
30
}
31
 
32
bool scCDP::is_mult()
33
{
34
 return false;
35
}
36
 
37
bool scCDP::is_shift()
38
{
39
 return false;
40
}
41
 
42
bool scCDP::load()
43
{
44
 return false;
45
}
46
 
47
bool scCDP::pre()
48
{
49
 return false;
50
}
51
 
52
uint32_t scCDP::dist()
53
{
54
 return 0;
55
}
56
 
57
REGS scCDP::Rd()
58
{
59
 return REGS(0);
60
}
61
 
62
REGS scCDP::Rn()
63
{
64
 return REGS(0);
65
}
66
 
67
bool scCDP::is_ls()
68
{
69
 return false;
70
}
71
 
72
bool scCDP::is_rs()
73
{
74
 return true;
75
}
76
 
77
bool scCDP::is_branch()
78
{
79
 return false;
80
}
81
 
82
bool scCDP::set()
83
{
84
 return false;
85
}
86
 
87
bool scCDP::wb()
88
{
89
 return false;
90
}
91
 
92
OPCODE scCDP::op()
93
{
94
 return OPCODE(0);
95
}
96
 
97
uint32_t scCDP::A()
98
{
99
 return 0;
100
}
101
 
102
uint32_t scCDP::B()
103
{
104
 return 0;
105
}
106
 
107
SHIFT scCDP::shift_type()
108
{
109
 return SHIFT(0);
110
}
111
 
112
bool scCDP::is_imm()
113
{
114
 return true;
115
}

powered by: WebSVN 2.1.0

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