protected Vector<Long> getReg(BasicComponent master, Vector<String> vRegNames)
	{
		Vector<Long> vRegs = new Vector<Long>();		
		for(Interface intf : vInterfaces)
		{
			if(intf.isMemorySlave())
			{
				//Check all interfaces for a connection to master
				Connection conn = null;
				for(int i=0; (i<intf.getConnections().size()) && (conn==null); i++)
				{
					if(intf.getConnections().get(i).getMasterModule().equals(master))
					{
						conn = intf.getConnections().get(i);
					}
				}
				if((conn!=null) && (intf!=null))
				{
					DTHelper.addAllLongs(vRegs, getAddrFromConnection(conn));
					DTHelper.addAllLongs(vRegs, intf.getInterfaceValue());
					vRegNames.add(intf.getName());
				}
			}
		}
		return vRegs;
	}