Building blocks for creating a software-defined radio (SDR) in an FPGA