set path [pwd] set bitpath $path set mcspath $path append bitpath "/download.bit" append mcspath "/download.mcs" write_cfgmem -format mcs -size 128 -interface BPIx16 -loadbit "up 0x00000000 $bitpath " -file $mcspath -force