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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [memory.h] - Rev 269

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

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

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

powered by: WebSVN 2.1.0

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