refactoring
fixed receive logic
add testbench of cores/ethpipe