Algorithm-Architecture Co-Design For Domain-Specific Accelerators In Communication And Artificial Intelligence