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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [memory.h] - Diff between revs 8 and 91

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 8 Rev 91
/*
/*
 * memory.h -- physical memory simulation
 * memory.h -- physical memory simulation
 */
 */
 
 
 
 
#ifndef _MEMORY_H_
#ifndef _MEMORY_H_
#define _MEMORY_H_
#define _MEMORY_H_
 
 
 
 
Word memoryReadWord(Word pAddr);
Word memoryReadWord(Word pAddr);
Half memoryReadHalf(Word pAddr);
Half memoryReadHalf(Word pAddr);
Byte memoryReadByte(Word pAddr);
Byte memoryReadByte(Word pAddr);
void memoryWriteWord(Word pAddr, Word data);
void memoryWriteWord(Word pAddr, Word data);
void memoryWriteHalf(Word pAddr, Half data);
void memoryWriteHalf(Word pAddr, Half data);
void memoryWriteByte(Word pAddr, Byte data);
void memoryWriteByte(Word pAddr, Byte data);
 
 
void memoryReset(void);
void memoryReset(void);
void memoryInit(unsigned int memorySize,
void memoryInit(unsigned int memorySize,
                char *progImageName,
                char *progImageName,
 
                unsigned int loadAddr,
                char *romImageName);
                char *romImageName);
void memoryExit(void);
void memoryExit(void);
 
 
 
 
#endif /* _MEMORY_H_ */
#endif /* _MEMORY_H_ */
 
 

powered by: WebSVN 2.1.0

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