SparcTLB.py (4762:c94e103c83ad) SparcTLB.py (5610:0e1e9c186769)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

30from m5.params import *
31class SparcTLB(SimObject):
32 type = 'SparcTLB'
33 abstract = True
34 size = Param.Int("TLB size")
35
36class SparcDTB(SparcTLB):
37 type = 'SparcDTB'
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

30from m5.params import *
31class SparcTLB(SimObject):
32 type = 'SparcTLB'
33 abstract = True
34 size = Param.Int("TLB size")
35
36class SparcDTB(SparcTLB):
37 type = 'SparcDTB'
38 cxx_namespace = 'SparcISA'
39 cxx_class = 'DTB'
40
38 cxx_class = 'SparcISA::DTB'
41 size = 64
42
43class SparcITB(SparcTLB):
44 type = 'SparcITB'
39 size = 64
40
41class SparcITB(SparcTLB):
42 type = 'SparcITB'
45 cxx_namespace = 'SparcISA'
46 cxx_class = 'ITB'
47
43 cxx_class = 'SparcISA::ITB'
48 size = 64
44 size = 64