updated setupFSM so it can write to card memory and BRAM also
updated setupFSM so it can write to card memory and BRAM also

hanw/connectal,csail-csg/connectal,cambridgehackers/connectal,chenm001/connectal,hanw/connectal,cambridgehackers/connectal,csail-csg/connectal,chenm001/connectal,csail-csg/connectal,cambridgehackers/connectal,cambridgehackers/connectal,chenm001/connectal,hanw/connectal,csail-csg/connectal,hanw/connectal,csail-csg/connectal,chenm001/connectal,chenm001/connectal,cambridgehackers/connectal,hanw/connectal