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

Subversion Repositories scarm

[/] [scarm/] [branches/] [release_0_1/] [src/] [sc_mem_if.h] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zhong
// sc_mem_if.h: interface for the sc_mem_if 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
#if !defined(AFX_SC_MEM_IF_H__7BC07E75_A752_11D6_BB12_000000000000__INCLUDED_)
18
#define AFX_SC_MEM_IF_H__7BC07E75_A752_11D6_BB12_000000000000__INCLUDED_
19
 
20
#if _MSC_VER > 1000
21
#pragma once
22
#endif // _MSC_VER > 1000
23
#include <systemc.h>
24
#include "scTypes.h"    // Added by ClassView
25
class sc_mem_if  : public sc_interface
26
{
27
public:
28
        virtual bool write_mem(uint32_t addr,uint32_t data);
29
        virtual uint32_t read_mem(uint32_t addr);
30
        sc_mem_if();
31
        virtual ~sc_mem_if();
32
 
33
};
34
 
35
#endif // !defined(AFX_SC_MEM_IF_H__7BC07E75_A752_11D6_BB12_000000000000__INCLUDED_)

powered by: WebSVN 2.1.0

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