Added SPI core in VHDL and handling in C, and used firmware for testing (sw_buff_test.c).