Ziria: A DSL for wireless systems programming

Gordon Stewart, Mahanth Gowda, Geoffrey Mainland, Božidar Radunović, Dimitrios Vytiniotis, Cristina Luengo Agulló

Research output: Contribution to journalArticlepeer-review

15 Scopus citations


Software-defined radio (SDR) brings the flexibility of software to wireless protocol design, promising an ideal platform for innovation and rapid protocol deployment. However, implementing modern wireless protocols on existing SDR platforms often requires careful hand-tuning of low-level code, which can undermine the advantages of software. Ziria is a new domain-specific language (DSL) that offers programming abstractions suitable for wireless physical (PHY) layer tasks while emphasizing the pipeline reconfiguration aspects of PHY programming. The Ziria compiler implements a rich set of specialized optimizations, such as lookup table generation and pipeline fusion. We also offer a novel-due to pipeline reconfiguration-algorithm to optimize the data widths of computations in Ziria pipelines. We demonstrate the programming flexibility of Ziria and the performance of the generated code through a detailed evaluation of a line-rate Ziria WiFi 802.11a/g implementation that is on par and in many cases outperforms a hand-tuned state-of-the-art C++ implementation on commodity CPUs.

Original languageEnglish (US)
Pages (from-to)415-428
Number of pages14
JournalACM SIGPLAN Notices
Issue number4
StatePublished - Apr 2015

All Science Journal Classification (ASJC) codes

  • General Computer Science


Dive into the research topics of 'Ziria: A DSL for wireless systems programming'. Together they form a unique fingerprint.

Cite this