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

Subversion Repositories scarm

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 zhong
// scEX.cpp: implementation of the scEX class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
 
5
#include "scEX.h"
6
 
7
//////////////////////////////////////////////////////////////////////
8
// Construction/Destruction
9
//////////////////////////////////////////////////////////////////////
10
 
11
 
12
 
13
scEX::~scEX()
14
{
15
 
16
}
17
 
18
void scEX::entry()
19
{
20
 
21
s_OP=in_OP;
22
s_COND=in_COND;
23
s_n_A=in_n_A;
24
s_SHIFT=in_SHIFT;
25
s_n_Dist=in_n_Dist;
26
s_n_B=in_n_B;
27
}
28
 
29
 
30
 
31
void scEX::output()
32
{
33
 sc_time time=sc_time_stamp();
34
 cout<<"EX:time="<<time<<"----"<<endl;
35
 out_n_ALUOutput=s_n_ALUOutput;
36
 out_b_Flush=in_b_Branch;
37
 out_b_MEM=in_b_MEM;
38
 out_Rd=in_Rd;
39
}
40
 
41
 

powered by: WebSVN 2.1.0

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