vhdl_navigation.py 文件源码

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

项目:SmartVHDL 作者: TheClams 项目源码 文件源码
def run(self,edit):
        mname = getModuleName(self.view)
        if not mname:
            print('[VHDL.navigation] No entity/architecture found !')
            return
        txt = self.view.substr(sublime.Region(0, self.view.size()))
        inst_l = vhdl_util.get_inst_list(txt,mname)
        if not inst_l:
            print('[VHDL.navigation] No hierarchy found !')
            return
        sublime.status_message("Show Hierarchy can take some time, please wait ...")
        sublime.set_timeout_async(lambda inst_l=inst_l, w=self.view.window(), mname=mname : self.showHierarchy(w,inst_l,mname))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号