ArmTLB.py (6020:0647c8b31a99) ArmTLB.py (6116:a5a97b04d796)
1# -*- mode:python -*-
2
3# Copyright (c) 2007-2008 The Florida State University
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

--- 18 unchanged lines hidden (view full) ---

27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Stephen Hines
30
31from m5.SimObject import SimObject
32from m5.params import *
33
34class ArmTLB(SimObject):
1# -*- mode:python -*-
2
3# Copyright (c) 2007-2008 The Florida State University
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

--- 18 unchanged lines hidden (view full) ---

27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29# Authors: Stephen Hines
30
31from m5.SimObject import SimObject
32from m5.params import *
33
34class ArmTLB(SimObject):
35 abstract = True
36 type = 'ArmTLB'
37 cxx_class = 'ArmISA::TLB'
35 type = 'ArmTLB'
36 cxx_class = 'ArmISA::TLB'
38 size = Param.Int("TLB size")
39
40class ArmDTB(ArmTLB):
41 type = 'ArmDTB'
42 cxx_class = 'ArmISA::DTB'
43 size = 64
44
45class ArmITB(ArmTLB):
46 type = 'ArmITB'
47 cxx_class = 'ArmISA::ITB'
48 size = 64
49
50class ArmUTB(ArmTLB):
51 type = 'ArmUTB'
52 cxx_class = 'ArmISA::UTB'
53 size = 64
54
37 size = Param.Int(64, "TLB size")