MipsTLB.py (5222:bb733a878f85) MipsTLB.py (5224:0e354459fb8a)
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

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

34class MipsTLB(SimObject):
35 abstract = True
36 type = 'MipsTLB'
37 cxx_namespace = 'MipsISA'
38 cxx_class = 'TLB'
39 size = Param.Int("TLB size")
40
41class MipsDTB(MipsTLB):
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

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

34class MipsTLB(SimObject):
35 abstract = True
36 type = 'MipsTLB'
37 cxx_namespace = 'MipsISA'
38 cxx_class = 'TLB'
39 size = Param.Int("TLB size")
40
41class MipsDTB(MipsTLB):
42 type = 'DTB'
42 type = 'MipsDTB'
43 cxx_namespace = 'MipsISA'
44 cxx_class = 'DTB'
45 size = 64
46
47class MipsITB(MipsTLB):
43 cxx_namespace = 'MipsISA'
44 cxx_class = 'DTB'
45 size = 64
46
47class MipsITB(MipsTLB):
48 type = 'ITB'
48 type = 'MipsITB'
49 cxx_namespace = 'MipsISA'
50 cxx_class = 'ITB'
51 size = 64
52
53class MipsUTB(MipsTLB):
49 cxx_namespace = 'MipsISA'
50 cxx_class = 'ITB'
51 size = 64
52
53class MipsUTB(MipsTLB):
54 type = 'UTB'
54 type = 'MipsUTB'
55 cxx_namespace = 'MipsISA'
56 cxx_class = 'UTB'
57 size = 64
55 cxx_namespace = 'MipsISA'
56 cxx_class = 'UTB'
57 size = 64