PowerTLB.py (9338:97b4a2be1e5b) | PowerTLB.py (12433:b166ca57bf0e) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2009 The University of Edinburgh 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28# 29# Authors: Timothy M. Jones 30 31from m5.SimObject import SimObject 32from m5.params import * 33 | 1# -*- mode:python -*- 2 3# Copyright (c) 2009 The University of Edinburgh 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28# 29# Authors: Timothy M. Jones 30 31from m5.SimObject import SimObject 32from m5.params import * 33 |
34class PowerTLB(SimObject): | 34from BaseTLB import BaseTLB 35 36class PowerTLB(BaseTLB): |
35 type = 'PowerTLB' 36 cxx_class = 'PowerISA::TLB' 37 cxx_header = 'arch/power/tlb.hh' 38 size = Param.Int(64, "TLB size") | 37 type = 'PowerTLB' 38 cxx_class = 'PowerISA::TLB' 39 cxx_header = 'arch/power/tlb.hh' 40 size = Param.Int(64, "TLB size") |