def do_generatetop(self,line):
        """\
Usage : generatetop
Generate top component
        """
        try:
            self.isProjectOpen()
            settings.active_project.check()
            top = TopVHDL(settings.active_project)
            top.generate()
        except Error,e:
            print e
            return
Exemple #2
0
    def do_generatetop(self, line):
        """\
Usage : generatetop
Generate top component
        """
        try:
            self.is_project_open()
            self._project.check()
            top = TopVHDL(self._project)
            top.generate()
        except PodError as error:
            print(error)
            return
        print(DISPLAY)
        print("Top generated with name : top_" + self._project.name + ".vhd")
Exemple #3
0
    def do_generatetop(self, line):
        """\
Usage : generatetop
Generate top component
        """
        try:
            self.is_project_open()
            self._project.check()
            top = TopVHDL(self._project)
            top.generate()
        except PodError as error:
            print(error)
            return
        print(DISPLAY)
        print("Top generated with name : top_" +
              self._project.name + ".vhd")