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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [memory.h] - Blame information for rev 157

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 hellwig
/*
2
 * memory.h -- physical memory simulation
3
 */
4
 
5
 
6
#ifndef _MEMORY_H_
7
#define _MEMORY_H_
8
 
9
 
10
Word memoryReadWord(Word pAddr);
11
Half memoryReadHalf(Word pAddr);
12
Byte memoryReadByte(Word pAddr);
13
void memoryWriteWord(Word pAddr, Word data);
14
void memoryWriteHalf(Word pAddr, Half data);
15
void memoryWriteByte(Word pAddr, Byte data);
16
 
17
void memoryReset(void);
18
void memoryInit(unsigned int memorySize,
19
                char *progImageName,
20 91 hellwig
                unsigned int loadAddr,
21 8 hellwig
                char *romImageName);
22
void memoryExit(void);
23
 
24
 
25
#endif /* _MEMORY_H_ */

powered by: WebSVN 2.1.0

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