private void parseConfLine(SBConfig conf, String str) {
		
		// Parse the config line. 	
		String delim = "[ ]";
		String [] tokens = str.split(delim);
		List<String> list = new ArrayList<String>();
	    for(String s : tokens) {
	       if(s != null && s.length() > 0) {
	          list.add(s);
	       }
	    }
	    
	    // Prune the empty tokens from the string array.
	    tokens = list.toArray(new String[list.size()]);
	    
		try {
			// TODO Auto-generated method stub
			if (tokens[0].equals("FPAdder")) {
				int i = Integer.parseInt(tokens[1]);
				conf.setNoOfFPAdder(i);
			} else if (tokens[0].equals("FPMultiplier")) {
				int i = Integer.parseInt(tokens[1]);
				conf.setNoOfFPMultiplier(i);
			} else if (tokens[0].equals("FPDivider")) {
				int i = Integer.parseInt(tokens[1]);
				conf.setNoOfFPDivider(i);
			} else if (tokens[0].equals("IntegerUnit")) {
				int i = Integer.parseInt(tokens[1]);
				conf.setNoOfIntegerUnit(i);
			} else {
				log.error("Invalid config option provided");
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			log.error("Invalid config value provided");
		}
	}