URL
https://opencores.org/ocsvn/scarm/scarm/trunk
[/] [scarm/] [trunk/] [src/] [scSignExt.h] - Blame information for rev 8
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
5 |
zhong |
// scSignExt.h: interface for the scSignExt class.
|
| 2 |
|
|
/* -------------------
|
| 3 |
|
|
begin : Oct 2 2002
|
| 4 |
|
|
copyright : (C) 2002 UESTC
|
| 5 |
|
|
author : Zhong Tao
|
| 6 |
|
|
email : zhong@opencores.org
|
| 7 |
|
|
***************************************************************************/
|
| 8 |
|
|
|
| 9 |
|
|
/***************************************************************************
|
| 10 |
|
|
* *
|
| 11 |
|
|
* This program is free software; you can redistribute it and/or modify *
|
| 12 |
|
|
* it under the terms of the GNU General Public License as published by *
|
| 13 |
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
| 14 |
|
|
* (at your option) any later version. *
|
| 15 |
|
|
* *
|
| 16 |
|
|
***************************************************************************/
|
| 17 |
|
|
|
| 18 |
|
|
#if !defined(AFX_SCSIGNEXT_H__BA0C4704_AF29_11D6_BB2A_000000000000__INCLUDED_)
|
| 19 |
|
|
#define AFX_SCSIGNEXT_H__BA0C4704_AF29_11D6_BB2A_000000000000__INCLUDED_
|
| 20 |
|
|
|
| 21 |
|
|
#if _MSC_VER > 1000
|
| 22 |
|
|
#pragma once
|
| 23 |
|
|
#endif // _MSC_VER > 1000
|
| 24 |
|
|
#include <systemc.h>
|
| 25 |
|
|
#include "scTypes.h"
|
| 26 |
|
|
class scSignExt : public sc_module
|
| 27 |
|
|
{
|
| 28 |
|
|
public:
|
| 29 |
|
|
sc_in<uint32_t> in_Data;
|
| 30 |
|
|
sc_out<uint32_t> out_Data;
|
| 31 |
|
|
public:
|
| 32 |
|
|
void entry();
|
| 33 |
|
|
SC_HAS_PROCESS(scSignExt);
|
| 34 |
|
|
scSignExt(sc_module_name);
|
| 35 |
|
|
virtual ~scSignExt();
|
| 36 |
|
|
|
| 37 |
|
|
};
|
| 38 |
|
|
|
| 39 |
|
|
#endif // !defined(AFX_SCSIGNEXT_H__BA0C4704_AF29_11D6_BB2A_000000000000__INCLUDED_)
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.