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

Subversion Repositories scarm

[/] [scarm/] [trunk/] [src/] [scHWT.cpp] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zhong
// scHWT.cpp: implementation of the scHWT class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
 
5
#include "scHWT.h"
6
 
7
//////////////////////////////////////////////////////////////////////
8
// Construction/Destruction
9
//////////////////////////////////////////////////////////////////////
10
 
11
scHWT::scHWT(uint32_t i)
12
{
13
        cout<<"uncomplete scHWT"<<endl;
14
}
15
 
16
scHWT::~scHWT()
17
{
18
 
19
}
20
const char* scHWT::kind_string = "HWT";
21
const char* scHWT::kind()
22
{
23
  return kind_string;
24
}
25
 
26
uint32_t scHWT::A()
27
{
28
  return ir.rn;
29
}
30
 
31
REGS scHWT::Rd()
32
{
33
  return REGS(ir.rd);
34
}
35
 
36
uint32_t scHWT::B()
37
{
38
  return ir.rm;
39
}

powered by: WebSVN 2.1.0

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