41a42,43
> from __future__ import print_function
>
111c113
< print "Error: script doesn't take any positional arguments"
---
> print("Error: script doesn't take any positional arguments")
121,122c123,124
< print "Generated random tree -c", ':'.join(map(str, cachespec)), \
< "-t", ':'.join(map(str, testerspec))
---
> print("Generated random tree -c", ':'.join(map(str, cachespec)),
> "-t", ':'.join(map(str, testerspec)))
128c130
< print "Error: Unable to parse caches or testers option"
---
> print("Error: Unable to parse caches or testers option")
132c134
< print "Error: Must have at least one level of caches"
---
> print("Error: Must have at least one level of caches")
136c138
< print "Error: Testers must have one element more than caches"
---
> print("Error: Testers must have one element more than caches")
140c142
< print "Error: Must have testers at the uppermost level"
---
> print("Error: Must have testers at the uppermost level")
145c147
< print "Error: Cannot have a negative number of testers"
---
> print("Error: Cannot have a negative number of testers")
150c152
< print "Error: Must have 1 or more caches at each level"
---
> print("Error: Must have 1 or more caches at each level")
158c160
< print "Error: Must have at least one cache per level"
---
> print("Error: Must have at least one cache per level")
278c280
< print "Error: No next-level cache at top level"
---
> print("Error: No next-level cache at top level")
318c320
< print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()
---
> print('Exiting @ tick', m5.curTick(), 'because', exit_event.getCause())