Examples of GetEntityName()


Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.ComponentInstElement.GetEntityName()

      }
      return (archList.size() != 0);
    }
    else if (element instanceof ComponentInstElement) {
      ComponentInstElement compInst = (ComponentInstElement) element;
      String componentName= compInst.GetEntityName().toUpperCase();
      //list of architectures for this entity
      Vector<ArchitectureElement> archList=m_EntityArchList.get(componentName);
      if(archList==null){
        return false;
      }
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.ComponentInstElement.GetEntityName()

            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
          if (childElements[j] instanceof ComponentInstElement) {
            ComponentInstElement compInst = (ComponentInstElement) childElements[j];
            String nameParts[] = compInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? compInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.ComponentInstElement.GetEntityName()

          }
          if (childElements[j] instanceof ComponentInstElement) {
            ComponentInstElement compInst = (ComponentInstElement) childElements[j];
            String nameParts[] = compInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? compInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
        }
      }
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityDeclElement.GetEntityName()

      //return all the instantiations
      for(int i=0; i< children.length;i++){
        if (children[i] instanceof EntityInstElement) {
          //do not add recursive children
          EntityInstElement e = (EntityInstElement)children[i];
          if(e.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
            childInstantiations.add(e);
          }
        }
        if (children[i] instanceof ComponentInstElement) {
          //do not add recursive children
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

      //return all the instantiations
      for(int i=0; i< children.length;i++){
        if (children[i] instanceof EntityInstElement) {
          //do not add recursive children
          EntityInstElement e = (EntityInstElement)children[i];
          if(e.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
            childInstantiations.add(e);
          }
        }
        if (children[i] instanceof ComponentInstElement) {
          //do not add recursive children
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

      return (Object[]) childInstantiations.toArray();
    }
    //child instantiation
    else if (parentElement instanceof EntityInstElement) {
      EntityInstElement entityInst = (EntityInstElement) parentElement;
      String entityName= entityInst.GetEntityName().toUpperCase();
      //list of architectures for this entity
      return (Object[])m_EntityArchList.get(entityName).toArray();
    }
    else if (parentElement instanceof ComponentInstElement) {
      ComponentInstElement compInst = (ComponentInstElement) parentElement;
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

      for(int i=0; i< children.length;i++){
        if (children[i] instanceof EntityInstElement) {
          EntityInstElement entityInst = (EntityInstElement)children[i];
          //if we hit one instantiation, we've got children
          //beware of recursive definitions
          if(entityInst.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase()) == false){
            return true;
          }
        }
        if (children[i] instanceof ComponentInstElement) {
          ComponentInstElement componentInst = (ComponentInstElement)children[i];
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

      return false;
    }
    //child instantiation
    else if (element instanceof EntityInstElement) {
      EntityInstElement entityInst = (EntityInstElement) element;
      String entityName= entityInst.GetEntityName().toUpperCase();
      //list of architectures for this entity
      Vector<ArchitectureElement> archList=m_EntityArchList.get(entityName);
      if(archList==null){
        return false;
      }
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

        OutlineElement[] childElements=archList.get(i).getChildren();
        //go through all the instances
        for(int j=0;j< childElements.length; j++){
          if (childElements[j] instanceof EntityInstElement) {
            EntityInstElement entityInst = (EntityInstElement) childElements[j];
            String nameParts[] = entityInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? entityInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
View Full Code Here

Examples of net.sourceforge.veditor.parser.vhdl.VhdlOutlineElementFactory.EntityInstElement.GetEntityName()

        for(int j=0;j< childElements.length; j++){
          if (childElements[j] instanceof EntityInstElement) {
            EntityInstElement entityInst = (EntityInstElement) childElements[j];
            String nameParts[] = entityInst.GetEntityName().toUpperCase().split("\\.");
            String n=
              nameParts.length==0 ? entityInst.GetEntityName() : nameParts[nameParts.length-1];
            //remove the name from the top level
            topLevelEntities.remove(n.toUpperCase());
          }
          if (childElements[j] instanceof ComponentInstElement) {
            ComponentInstElement compInst = (ComponentInstElement) childElements[j];
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.