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 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") |
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") |
41 ranges = VectorParam.AddrRange([AllMemory], 42 "Address ranges to pass through the bridge") |