Network.py (11762:29d401db3746) Network.py (12014:f973caaf935d)
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

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

29import math
30import m5
31from m5.objects import *
32from m5.defines import buildEnv
33from m5.util import addToPath, fatal
34
35def define_options(parser):
36 # By default, ruby uses the simple timing cpu
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

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

29import math
30import m5
31from m5.objects import *
32from m5.defines import buildEnv
33from m5.util import addToPath, fatal
34
35def define_options(parser):
36 # By default, ruby uses the simple timing cpu
37 parser.set_defaults(cpu_type="timing")
37 parser.set_defaults(cpu_type="TimingSimpleCPU")
38
39 parser.add_option("--topology", type="string", default="Crossbar",
40 help="check configs/topologies for complete set")
41 parser.add_option("--mesh-rows", type="int", default=0,
42 help="the number of rows in the mesh topology")
43 parser.add_option("--network", type="choice", default="simple",
44 choices=['simple', 'garnet2.0'],
45 help="'simple'|'garnet2.0'")

--- 77 unchanged lines hidden ---
38
39 parser.add_option("--topology", type="string", default="Crossbar",
40 help="check configs/topologies for complete set")
41 parser.add_option("--mesh-rows", type="int", default=0,
42 help="the number of rows in the mesh topology")
43 parser.add_option("--network", type="choice", default="simple",
44 choices=['simple', 'garnet2.0'],
45 help="'simple'|'garnet2.0'")

--- 77 unchanged lines hidden ---