示例#1
0
 def instantiate(self, setup):
     AG.instantiate(self, setup)
     self.class_name = 'Weights_GLB_drain_addr_generator'
     # -------------------------------------------------------------------
     # Hardware Properties
     # -------------------------------------------------------------------
     self.width = setup['width']
     self.debug = setup['debug']
示例#2
0
 def instantiate(self, setup):
     AG.instantiate(self, setup)
     self.class_name = 'Psum_GLB_update_addr_generator'
     # -------------------------------------------------------------------
     # Hardware Properties
     # -------------------------------------------------------------------
     self.width = setup['width']
     self.debug = setup['debug'] + '-> psum'
    def instantiate(self, setup):
        AG.instantiate(self, setup)

        self.class_name = 'IFMap_glb_fill_addr_generator'

        # -------------------------------------------------------------------
        # Hardware Properties
        # -------------------------------------------------------------------
        self.width = setup['width']
        self.debug = setup['debug'] + '-> ifmap'
    def instantiate(self, setup):

        AG.instantiate(self, setup)
        self.class_name = 'weights_sp_drain_addr_generator'
        self.predefined_class = True
        self.base_class_name = 'AddressGenerator'