xilinx.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:ipbb 作者: ipbus 项目源码 文件源码
def quit(self):

        # Return immediately of already dead
        if not hasattr(self, '_process') or not self._process.isalive():
            self._log.debug('Vivado has already been stopped')
            # try:
            #   # I am being pedantic here, in case, for any reason, it wasn't done yet
            #   self.__instances.remove(self)
            # except KeyError:
            #   pass
            return

        self._log.debug('Shutting Vivado down')
        try:
            self.execute('quit')
        except pexpect.ExceptionPexpect as e:
            pass

        # Just in case
        self._process.terminate(True)

        # Remove self from the list of instances
        self.__instances.remove(self)
    # --------------------------------------------------------------

    # --------------------------------------------------------------
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号