Boron has atomic number 5. It has 3 electrons in its outer orbit, i.e. 3 valence electrons. Elements with 3 valence electrons are used for p-type doping and 5-valence electrons for n-type doping. Hence when Boron is doped with Silicon, it creates p-type doping.