Update functional memory to have a response event
Clean out old memory python files, move them into old_mem directory. Maybe we should just delete them, they are under revision control.
Add new py files for new objects.
SConscript:
Update because memory is just a header file now
base/chunk_generator.hh:
Make Chunk Generator return the entire size if the chunk_size is set to zero. Useful when trying to chunck on blocksize of memory, which can write large pieces of data.
cpu/simple/cpu.cc:
Make sure to delete the pkt.
mem/physical.cc:
mem/physical.hh:
Set up response event.
mem/port.cc:
Rename rqst to req to conform to same standard naming convention.
python/m5/objects/PhysicalMemory.py:
Update the params, inheritence
--HG--
extra : convert_revision : 857154ec256522baf423b715833930497999549b
This commit is contained in:
5
python/m5/objects/MemObject.py
Normal file
5
python/m5/objects/MemObject.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from m5 import *
|
||||
|
||||
class MemObject(SimObject):
|
||||
type = 'MemObject'
|
||||
abstract = True
|
||||
@@ -1,7 +1,7 @@
|
||||
from m5 import *
|
||||
from FunctionalMemory import FunctionalMemory
|
||||
from Memory import Memory
|
||||
|
||||
class PhysicalMemory(FunctionalMemory):
|
||||
class PhysicalMemory(Memory):
|
||||
type = 'PhysicalMemory'
|
||||
range = Param.AddrRange("Device Address")
|
||||
file = Param.String('', "memory mapped file")
|
||||
|
||||
Reference in New Issue
Block a user