Deleted Added
sdiff udiff text old ( 12564:2778478ca882 ) new ( 13731:67cd980cb20f )
full compact
1# Copyright (c) 2016 Georgia Institute of Technology
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

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

82 0 and 1 are 1-flit, 2 is 5-flit.\
83 Set to -1 to inject randomly in all vnets.")
84
85#
86# Add the ruby specific and protocol specific options
87#
88Ruby.define_options(parser)
89
90execfile(os.path.join(config_root, "common", "Options.py"))
91
92(options, args) = parser.parse_args()
93
94if args:
95 print("Error: script doesn't take any positional arguments")
96 sys.exit(1)
97
98

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

107 single_sender=options.single_sender_id,
108 single_dest=options.single_dest_id,
109 sim_cycles=options.sim_cycles,
110 traffic_type=options.synthetic,
111 inj_rate=options.injectionrate,
112 inj_vnet=options.inj_vnet,
113 precision=options.precision,
114 num_dest=options.num_dirs) \
115 for i in xrange(options.num_cpus) ]
116
117# create the desired simulated system
118system = System(cpu = cpus, mem_ranges = [AddrRange(options.mem_size)])
119
120
121# Create a top-level voltage domain and clock domain
122system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
123

--- 34 unchanged lines hidden ---