A Compiler for a Domain-Specific Language for Rapid Implementation of DSP Transforms and Filter Banks

Transforms and filter banks are widely used in digital signal processing (DSP), but not many specialized tools exist for developing such systems. Moreover, these tools are somewhat user unfriendly and lack useful features, and their drawbacks cannot be easily solved. Therefore, we have recently proposed a domain-specific language, called TDL, for describing systems clearly, compactly, and quickly. In this chapter we present an associated compiler, which converts TDL descriptions into Java/C++ implementation code, so as to save programming effort. In particular, the dataflow and data structures are discussed that are related to code generation.