Searched refs:cfg_file (Results 1 - 3 of 3) sorted by relevance

/gem5/configs/dram/
H A Dlow_power_sweep.py139 cfg_file = open(cfg_file_name, 'w') variable
191 cfg_file.write("""# STATE state# period mode=DRAM
199 cfg_file.write("STATE %d %d %s %d 0 %d %d "
209 cfg_file.write("STATE %d %d IDLE\n" % (nxt_state, idle_period))
212 cfg_file.write("INIT 0\n")
216 cfg_file.write("TRANSITION %d %d 1\n" % (state - 1, state))
219 cfg_file.write("TRANSITION %d %d 1\n" % (nxt_state, nxt_state))
220 cfg_file.close()
H A Dlat_mem_rd.py138 cfg_file = open(cfg_file_name, 'w') variable
230 cfg_file.write("STATE %d %d TRACE %s 0\n" %
236 cfg_file.write("STATE %d %d TRACE %s 0\n" %
242 cfg_file.write("INIT 0\n")
246 cfg_file.write("TRANSITION %d %d 1\n" % (state - 1, state))
248 cfg_file.write("TRANSITION %d %d 1\n" % (nxt_state - 1, nxt_state - 1))
250 cfg_file.close()
/gem5/configs/example/
H A Dmemcheck.py201 cfg_file = open(cfg_file_name, 'w') variable
206 cfg_file.write("STATE 0 10000000 RANDOM 65 0 16777216 8 50000 150000 0\n")
207 cfg_file.write("STATE 1 10000000 LINEAR 65 0 16777216 64 50000 150000 0\n")
208 cfg_file.write("STATE 2 10000000 IDLE\n")
209 cfg_file.write("INIT 0\n")
210 cfg_file.write("TRANSITION 0 1 0.5\n")
211 cfg_file.write("TRANSITION 0 2 0.5\n")
212 cfg_file.write("TRANSITION 1 0 0.5\n")
213 cfg_file.write("TRANSITION 1 2 0.5\n")
214 cfg_file
[all...]

Completed in 7 milliseconds