Searched refs:opts (Results 1 - 23 of 23) sorted by relevance

/gem5/configs/learning_gem5/part1/
H A Dcaches.py83 def __init__(self, opts=None):
84 super(L1ICache, self).__init__(opts)
85 if not opts or not opts.l1i_size:
87 self.size = opts.l1i_size
102 def __init__(self, opts=None):
103 super(L1DCache, self).__init__(opts)
104 if not opts or not opts.l1d_size:
106 self.size = opts
[all...]
H A Dtwo_level.py63 # Finalize the arguments and grab the opts so we can pass it on to our objects
64 (opts, args) = SimpleOpts.parse_args()
99 system.cpu.icache = L1ICache(opts)
100 system.cpu.dcache = L1DCache(opts)
114 system.l2cache = L2Cache(opts)
/gem5/src/systemc/core/
H A Dsc_spawn.cc48 const ::sc_core::sc_spawn_options *opts)
52 if (opts) {
53 if (opts->_spawnMethod)
55 if (opts->_dontInitialize)
57 if (opts->_stackSize != -1)
76 if (opts) {
77 for (auto e: opts->_events)
80 for (auto p: opts->_ports)
83 for (auto e: opts->_exports)
86 for (auto i: opts
47 spawnWork(ProcessFuncWrapper *func, const char *name, const ::sc_core::sc_spawn_options *opts) argument
[all...]
/gem5/src/mem/slicc/
H A Dmain.py76 opts,files = parser.parse_args(args=args)
88 output = nprint if opts.quiet else eprint
95 slicc = SLICC(slicc_file, protocol_base, verbose=True, debug=opts.debug,
96 traceback=opts.tb)
99 if opts.print_files:
106 if opts.html_path:
108 slicc.writeHTMLFiles(opts.html_path)
111 slicc.writeCodeFiles(opts.code_path, [])
/gem5/src/systemc/tests/systemc/communication/sc_buffer/test02/
H A Dsc_buffer_edge_reset.cpp53 sc_spawn_options opts; local
54 opts.spawn_method();
55 opts.dont_initialize();
57 opts.set_sensitivity( ef );
59 opts.async_reset_signal_is( in, true );
62 , name, &opts); local
/gem5/util/style/
H A Dsort_includes.py304 opts,args = parser.parse_args()
306 opts.dir_ignore = frozenset(opts.dir_ignore.split(','))
307 opts.file_ignore = frozenset(opts.file_ignore.split(','))
308 opts.languages = frozenset(opts.languages.split(','))
310 return opts,args
314 opts, args = parse_args(parser)
317 for filename,language in find_files(base, languages=opts
[all...]
H A Dverifiers.py126 def __init__(self, ui, opts, base=None):
131 # Check test-specific opts first as these have precedence.
132 self.opt_fix = opts.get('fix_' + self.opt_name, False)
133 self.opt_ignore = opts.get('ignore_' + self.opt_name, False)
134 self.opt_skip = opts.get('skip_' + self.opt_name, False)
135 # If no test-specific opts were set, then set based on "-all" opts.
137 self.opt_fix = opts.get('fix_all', False)
138 self.opt_ignore = opts.get('ignore_all', False)
139 self.opt_skip = opts
[all...]
/gem5/ext/systemc/src/tlm_utils/
H A Dpeq_with_cb_and_phase.h200 sc_core::sc_spawn_options opts; local
201 opts.spawn_method();
202 opts.set_sensitivity(&m_e);
203 opts.dont_initialize();
205 sc_core::sc_gen_unique_name("fec"), &opts);
213 sc_core::sc_spawn_options opts; local
214 opts.spawn_method();
215 opts.set_sensitivity(&m_e);
216 opts.dont_initialize();
218 sc_core::sc_gen_unique_name("fec"), &opts);
[all...]
H A Dsimple_target_socket.h203 sc_core::sc_spawn_options opts; local
204 opts.set_sensitivity(&m_peq.get_event());
206 sc_core::sc_gen_unique_name("b2nb_thread"), &opts);
279 sc_core::sc_spawn_options opts; local
280 opts.dont_initialize();
281 opts.set_sensitivity(&ph->m_e);
284 sc_core::sc_gen_unique_name("nb2b_thread"), &opts);
742 sc_core::sc_spawn_options opts; local
743 opts.set_sensitivity(&m_peq.get_event());
745 sc_core::sc_gen_unique_name("b2nb_thread"), &opts);
824 sc_core::sc_spawn_options opts; local
[all...]
/gem5/src/systemc/ext/tlm_utils/
H A Dpeq_with_cb_and_phase.h183 sc_core::sc_spawn_options opts; local
184 opts.spawn_method();
185 opts.set_sensitivity(&m_e);
186 opts.dont_initialize();
188 sc_core::sc_gen_unique_name("fec"), &opts);
194 sc_core::sc_spawn_options opts; local
195 opts.spawn_method();
196 opts.set_sensitivity(&m_e);
197 opts.dont_initialize();
199 sc_core::sc_gen_unique_name("fec"), &opts);
[all...]
H A Dsimple_target_socket.h201 sc_core::sc_spawn_options opts; local
202 opts.set_sensitivity(&m_peq.get_event());
203 opts.dont_initialize();
205 sc_core::sc_gen_unique_name("b2nb_thread"), &opts);
282 sc_core::sc_spawn_options opts; local
283 opts.dont_initialize();
284 opts.set_sensitivity(&ph->m_e);
289 &opts);
786 sc_core::sc_spawn_options opts; local
787 opts
878 sc_core::sc_spawn_options opts; local
[all...]
/gem5/src/unittest/
H A Dgenini.py45 opts, args = getopt.getopt(sys.argv[1:], '-E:I:')
46 for opt,arg in opts:
/gem5/util/
H A Doprofile-top.py54 (opts, files) = getopt.getopt(sys.argv[1:], 'i')
61 for o,v in opts:
H A Dgit-pre-commit.py61 opts = {} variable
84 verifiers = [ v(ui, opts, base=repo_base) for v in all_verifiers ]
H A Dhgstyle.py120 def do_check_style(hgui, repo, *pats, **opts):
161 verifiers = [v(ui, opts, base=repo.root) for v in all_verifiers]
163 for fname, mod_regions in _modified_regions(repo, pats, **opts):
H A Dstyle.py56 opts = {
65 for verifier in [ v(ui, opts, base=base) for v in verifiers ]:
H A Dfind_copyrights.py216 opts, args = getopt.getopt(sys.argv[1:], "ci:v")
220 for o,a in opts:
/gem5/util/stats/
H A Dstats.py57 opts, args = getopt.getopt(list, flags)
61 return opts, args
124 opts, args = getopts(args, '-u')
127 for o,a in opts:
431 opts, args = getopts(sys.argv[1:], '-EFJad:g:h:j:m:pr:s:u:T:')
432 for o,a in opts:
H A Dprofile.py411 opts, args = getopt.getopt(sys.argv[1:], 'C:cdD:f:g:ij:n:pT:t')
415 for o,a in opts:
/gem5/src/python/m5/
H A Doptions.py133 opts,args = self._optparse.parse_args()
135 for key,val in opts.__dict__.items():
/gem5/src/python/m5/util/
H A Djobfile.py171 opts = []
181 opts.append(opt)
183 if opts:
184 self._checkpoint = Job(opts)
433 opts, args = getopt.getopt(sys.argv[1:], '-bcv')
440 for opt,arg in opts:
/gem5/util/batch/
H A Dsend.py100 opts, args = getopt.getopt(sys.argv[1:], '-Ccdefhj:lnq:Rt:v')
119 for opt,arg in opts:
/gem5/util/pbs/
H A Dsend.py101 opts, args = getopt.getopt(sys.argv[1:], '-Ccdefhj:lnq:Rt:v')
120 for opt,arg in opts:

Completed in 39 milliseconds