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

Subversion Repositories scarm

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zhong
// sc_mem_if.cpp: implementation of the sc_mem_if class.
2
//
3
//////////////////////////////////////////////////////////////////////
4
 
5
#include "sc_mem_if.h"
6
 
7
//////////////////////////////////////////////////////////////////////
8
// Construction/Destruction
9
//////////////////////////////////////////////////////////////////////
10
 
11
sc_mem_if::sc_mem_if()
12
{
13
 
14
}
15
 
16
sc_mem_if::~sc_mem_if()
17
{
18
 
19
}
20
 
21
uint32_t sc_mem_if::read_mem(uint32_t addr)
22
{
23
   uint32_t d=0;
24
   cout<<"pls design channel "<<endl;
25
   return d;
26
}
27
 
28
bool sc_mem_if::write_mem(uint32_t addr,uint32_t data)
29
{
30
        cout<<"pls design channel "<<endl;
31
        return true;
32
 
33
}

powered by: WebSVN 2.1.0

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