VIPERCoalescer.py revision 12697
13005Sstever@eecs.umich.edu# Copyright (c) 2015 Advanced Micro Devices, Inc.
23005Sstever@eecs.umich.edu# All rights reserved.
33005Sstever@eecs.umich.edu#
43005Sstever@eecs.umich.edu# For use for simulation and test purposes only
53005Sstever@eecs.umich.edu#
63005Sstever@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
73005Sstever@eecs.umich.edu# modification, are permitted provided that the following conditions are met:
83005Sstever@eecs.umich.edu#
93005Sstever@eecs.umich.edu# 1. Redistributions of source code must retain the above copyright notice,
103005Sstever@eecs.umich.edu# this list of conditions and the following disclaimer.
113005Sstever@eecs.umich.edu#
123005Sstever@eecs.umich.edu# 2. Redistributions in binary form must reproduce the above copyright notice,
133005Sstever@eecs.umich.edu# this list of conditions and the following disclaimer in the documentation
143005Sstever@eecs.umich.edu# and/or other materials provided with the distribution.
153005Sstever@eecs.umich.edu#
163005Sstever@eecs.umich.edu# 3. Neither the name of the copyright holder nor the names of its
173005Sstever@eecs.umich.edu# contributors may be used to endorse or promote products derived from this
183005Sstever@eecs.umich.edu# software without specific prior written permission.
193005Sstever@eecs.umich.edu#
203005Sstever@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
213005Sstever@eecs.umich.edu# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
223005Sstever@eecs.umich.edu# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
233005Sstever@eecs.umich.edu# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
243005Sstever@eecs.umich.edu# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
253005Sstever@eecs.umich.edu# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
263005Sstever@eecs.umich.edu# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
273005Sstever@eecs.umich.edu# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
283005Sstever@eecs.umich.edu# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
292889SN/A# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
302889SN/A# POSSIBILITY OF SUCH DAMAGE.
312710SN/A#
322710SN/A# Authors: Steve Reinhardt
332934SN/A#          Brad Beckmann
342934SN/A
352549SN/Afrom m5.params import *
362995SN/Afrom m5.proxy import *
372549SN/Afrom GPUCoalescer import *
382889SN/A
392710SN/Aclass VIPERCoalescer(RubyGPUCoalescer):
402917SN/A    type = 'VIPERCoalescer'
412710SN/A    cxx_class = 'VIPERCoalescer'
422917SN/A    cxx_header = "mem/ruby/system/VIPERCoalescer.hh"
432948SN/A    max_inv_per_cycle = Param.Int(32, "max invalidations per cycle")
442995SN/A    max_wb_per_cycle = Param.Int(32, "max writebacks per cycle")
452995SN/A    assume_rfo = False
462995SN/A