private void CofigureSimulator()
    {
        ConfigFile cfg = new ConfigFile();
        
        
        if (FABRICTYPE.compareToIgnoreCase("Bus") == 0)
        {
            //create the fabric type, and pass input & output buffer 
            this.sFabric = new Bus(FABRICSPEED,inputBuffer,outputBuffer);
        }
        else if (FABRICTYPE.compareToIgnoreCase("Memory") == 0)
        {
            //create the fabric type, and pass input & output buffer 
            this.sFabric = new Memory(FABRICSPEED,inputBuffer,outputBuffer);
        }
        if (FABRICTYPE.compareToIgnoreCase("Crossbar") == 0)
        {
            //create the fabric type, and pass input & output buffer 
            this.sFabric = new Crossbar(FABRICSPEED,inputBuffer,outputBuffer);
        }

        
    }