gem5/python/m5/objects
Ali Saidi b38f67d5b7 Implement a very very simple bus
requestTime -> time
responseTime -> packet.time

Make CPU and memory able to connect to the bus

dev/io_device.cc:
    update for request and packet both having a time
    hand platform off to port for eventual selection of request modes
dev/io_device.hh:
    update for request and packet both havig a time
    hand platform off to port for eventual selection of request modes
mem/bus.hh:
    Add a device map struct that maps a range to a portId
    - Which needs work it theory it should be an interval tree
    - but it is a list and works fine right now

    Add a function called findPort which returns port for an addr range

    Add a deviceBlockSize function that really shouldn't exist, but it
    was easier than fixing the translating port
mem/packet.hh:
    add a time to each packet
mem/physical.cc:
mem/physical.hh:
python/m5/objects/PhysicalMemory.py:
    Make physical memory take a MemObject parameter of what to connect to
mem/request.hh:
    remove requestTime/responseTime for just time in request which
    is requset time and the time in the packet which is responsetime
python/m5/objects/BaseCPU.py:
    Instead of memory cpu connects to any memory object
python/m5/objects/Bus.py:
    Fix for new bus object

--HG--
extra : convert_revision : 72605e8a3fcdd9e80a41f439909ee7feb3f1fe1d
2006-03-25 18:31:20 -05:00
..
AlphaConsole.py Allow CPUs to specify their own CPU ids. 2005-06-29 01:20:41 -04:00
AlphaFullCPU.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
AlphaTLB.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
BadDevice.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
BaseCache.py Standardize clock parameter names to 'clock'. 2005-06-01 21:44:00 -04:00
BaseCPU.py Implement a very very simple bus 2006-03-25 18:31:20 -05:00
Bus.py Implement a very very simple bus 2006-03-25 18:31:20 -05:00
CoherenceProtocol.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
Device.py io_bus is split out into pio_bus and dma_bus so that any device 2005-11-20 16:57:53 -05:00
DiskImage.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
Ethernet.py Hand merge. Stuff probably doesn't compile. 2006-03-09 18:35:28 -05:00
Ide.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
IntrControl.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
MemObject.py Update functional memory to have a response event 2006-02-23 13:51:54 -05:00
MemTest.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
Pci.py BARs now of type MemorySize32 2005-11-21 00:02:39 -05:00
PhysicalMemory.py Implement a very very simple bus 2006-03-25 18:31:20 -05:00
Platform.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
Process.py add translations for new sections that are mmapped or when the brk 2006-03-15 17:04:50 -05:00
Repl.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
Root.py More progress toward actually running a program. 2006-03-01 18:45:50 -05:00
SimConsole.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
SimpleDisk.py Major cleanup of python config code. 2005-05-29 01:14:50 -04:00
System.py Compiles now (with CPU_MODELS=SimpleCPU), but hangs 2006-03-10 10:01:29 -05:00
Tsunami.py Changes for getting FreeBSD to run. 2005-08-15 16:59:58 -04:00
Uart.py make all of the turbolaser stuff only compile if ALPHA_TLASER 2005-06-05 01:24:17 -04:00