Software Defined Code-rate-adaptive Terabit/s based on Time-frequency Packing