Lines Matching refs:cls
52 def is_mem_class(cls):
58 return issubclass(cls, m5.objects.AbstractMemory) and \
59 not cls.abstract
78 for name, cls in _mem_classes.items():
83 doc = inspect.getdoc(cls)
93 for name, cls in inspect.getmembers(m5.objects, is_mem_class):
94 _mem_classes[name] = cls
96 def create_mem_ctrl(cls, r, i, nbr_mem_ctrls, intlv_bits, intlv_size):
115 ctrl = cls()
118 if issubclass(cls, m5.objects.DRAMCtrl):
203 cls = get(opt_mem_type)
206 if opt_elastic_trace_en and not issubclass(cls, m5.objects.SimpleMemory):
221 mem_ctrl = create_mem_ctrl(cls, r, i, nbr_mem_ctrls, intlv_bits,
225 if issubclass(cls, m5.objects.DRAMCtrl) and opt_mem_ranks:
229 if issubclass(cls, m5.objects.DRAMCtrl):