Bridge.py (4965:ad0e792a5c78) Bridge.py (8713:2f1a3e335255)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 17 unchanged lines hidden (view full) ---

26#
27# Authors: Ali Saidi
28
29from m5.params import *
30from MemObject import MemObject
31
32class Bridge(MemObject):
33 type = 'Bridge'
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 17 unchanged lines hidden (view full) ---

26#
27# Authors: Ali Saidi
28
29from m5.params import *
30from MemObject import MemObject
31
32class Bridge(MemObject):
33 type = 'Bridge'
34 side_a = Port('Side A port')
35 side_b = Port('Side B port')
36 req_size_a = Param.Int(16, "The number of requests to buffer")
37 req_size_b = Param.Int(16, "The number of requests to buffer")
38 resp_size_a = Param.Int(16, "The number of requests to buffer")
39 resp_size_b = Param.Int(16, "The number of requests to buffer")
34 slave = Port('Slave port')
35 master = Port('Master port')
36 req_size = Param.Int(16, "The number of requests to buffer")
37 resp_size = Param.Int(16, "The number of requests to buffer")
40 delay = Param.Latency('0ns', "The latency of this bridge")
41 nack_delay = Param.Latency('0ns', "The latency of this bridge")
42 write_ack = Param.Bool(False, "Should this bridge ack writes")
38 delay = Param.Latency('0ns', "The latency of this bridge")
39 nack_delay = Param.Latency('0ns', "The latency of this bridge")
40 write_ack = Param.Bool(False, "Should this bridge ack writes")
43 filter_ranges_a = VectorParam.AddrRange([],
44 "What addresses shouldn't be passed through the side of the bridge")
45 filter_ranges_b = VectorParam.AddrRange([],
46 "What addresses shouldn't be passed through the side of the bridge")
41 ranges = VectorParam.AddrRange([AllMemory],
42 "Address ranges to pass through the bridge")