示例#1
0
    def instantiate(self, setup):

        setup['LMs'] = [{
            'AGs': {
                'drain': PsumGLBDrainAG,
                'fill': PsumGLBFillAG,
                'update': PsumGLBUpdateAG
            }
        }]
        setup['debug'] = 'PsumGLB'

        nnsimSmartBuffer.instantiate(self, setup)

        self.class_name = 'PsumGLB'

        #======================================================================
        #                  Stats Collection Info
        #======================================================================
        # -------------------------------------------------------------------
        # Flags for Showing Different Kinds of Stats Data
        # -------------------------------------------------------------------
        self.component_class_as_subclass = 'show'  # whether to show the class information as a subclass
        self.component_class_as_topclass = 'show'  # whether to show the class_information as a top level class
        self.component_specification_stats = 'show'
        self.access_counts_stats = 'show'
示例#2
0
    def instantiate(self, setup):
        setup['LMs'] = [{
            'AGs': {
                'drain': WeightsSpDrainAG,
                'fill': WeightsSpFillAG
            }
        }]
        nnsimSmartBuffer.instantiate(self, setup)
        self.class_name = 'WeightsSP'

        # -------------------------------------------------------------------
        # Flags for Showing Different Kinds of Stats Data
        # -------------------------------------------------------------------
        self.component_class_as_subclass = 'show'  # whether to show the class information as a subclass
        self.component_class_as_topclass = 'show'  # whether to show the class_information as a top level class
        self.component_specification_stats = 'show'
        self.access_counts_stats = 'show'