function loadChip(){
chip=new Component('main',true,'{"type":"main","inputs":2,"tooltips":[],"pins":[0,0,0,0],"subComponents":[],"positions":[],"wires":[]}');
chip.groups = [[1]]
chip.tooltips = ["input","select","output A", "output B"]
}