TrafficGen.py (9338:97b4a2be1e5b) | TrafficGen.py (9720:090935b1b797) |
---|---|
1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 57 unchanged lines hidden (view full) --- 66 # Port used for sending requests and receiving responses 67 port = MasterPort("Master port") 68 69 # Config file to parse for the state descriptions 70 config_file = Param.String("Configuration file describing the behaviour") 71 72 # System used to determine the mode of the memory system 73 system = Param.System(Parent.any, "System this generator is part of") | 1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 57 unchanged lines hidden (view full) --- 66 # Port used for sending requests and receiving responses 67 port = MasterPort("Master port") 68 69 # Config file to parse for the state descriptions 70 config_file = Param.String("Configuration file describing the behaviour") 71 72 # System used to determine the mode of the memory system 73 system = Param.System(Parent.any, "System this generator is part of") |
74 75 # Should requests respond to back-pressure or not, if true, the 76 # rate of the traffic generator will be slowed down if requests 77 # are not immediately accepted 78 elastic_req = Param.Bool(False, 79 "Slow down requests in case of backpressure") |
|