MipsTLB.py (5268:5bfc53fe60e7) MipsTLB.py (5464:7eb7f0f5e79f)
1# -*- mode:python -*-
2
3# Copyright (c) 2007 MIPS Technologies, Inc.
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

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

28#
29# Authors: Jaidev Patwardhan
30# Korey Sewell
31
32from m5.SimObject import SimObject
33from m5.params import *
34
35class MipsTLB(SimObject):
1# -*- mode:python -*-
2
3# Copyright (c) 2007 MIPS Technologies, Inc.
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

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

28#
29# Authors: Jaidev Patwardhan
30# Korey Sewell
31
32from m5.SimObject import SimObject
33from m5.params import *
34
35class MipsTLB(SimObject):
36 abstract = True
37 type = 'MipsTLB'
36 type = 'MipsTLB'
38 cxx_namespace = 'MipsISA'
39 cxx_class = 'TLB'
37 abstract = True
40 size = Param.Int("TLB size")
41
42class MipsDTB(MipsTLB):
43 type = 'MipsDTB'
44 cxx_namespace = 'MipsISA'
45 cxx_class = 'DTB'
46 size = 64
47

--- 12 unchanged lines hidden ---
38 size = Param.Int("TLB size")
39
40class MipsDTB(MipsTLB):
41 type = 'MipsDTB'
42 cxx_namespace = 'MipsISA'
43 cxx_class = 'DTB'
44 size = 64
45

--- 12 unchanged lines hidden ---