Register SPI slave module inputs
Segment out core logic and add core testbench
Update makefile