Added functions for- ASCII file read, mem trace gen and branch trace gen