41a42,43
> from __future__ import print_function
>
110c112
< print "Error: script doesn't take any positional arguments"
---
> print("Error: script doesn't take any positional arguments")
140,141c142,143
< 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)))
147c149
< print "Error: Unable to parse caches or testers option"
---
> print("Error: Unable to parse caches or testers option")
151c153
< print "Error: Must have at least one level of caches"
---
> print("Error: Must have at least one level of caches")
155c157
< print "Error: Testers must have one element more than caches"
---
> print("Error: Testers must have one element more than caches")
159c161
< print "Error: Must have testers at the uppermost level"
---
> print("Error: Must have testers at the uppermost level")
164c166
< print "Error: Cannot have a negative number of testers"
---
> print("Error: Cannot have a negative number of testers")
169c171
< print "Error: Must have 1 or more caches at each level"
---
> print("Error: Must have 1 or more caches at each level")
173,174c175,176
< print "Error: Limited to %s testers because of false sharing" \
< % (block_size)
---
> print("Error: Limited to %s testers because of false sharing"
> % (block_size))
283c285
< print "Error: No next-level cache at top level"
---
> print("Error: No next-level cache at top level")
321c323
< print 'Exiting @ tick', m5.curTick(), 'because', exit_event.getCause()
---
> print('Exiting @ tick', m5.curTick(), 'because', exit_event.getCause())