Functional topological THz devices using semiconductors