Geoffrey Mainland
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Geoffrey Mainland has a total of 29 co-authors. Here are the top co-authors by number of shared publications:
Dimitrios Vytiniotis
Microsoft Research Cambridge, Cambridge, United Kingdom
7 shared publicationsGordon Stewart
Princeton University, Princeton, NJ, USA
7 shared publicationsMahanth Gowda
University of Illinois at Urbana-Champaign, Urbana-Champaign, IL, USA
7 shared publicationsBozidar Radunovic
Microsoft Research Cambridge, Cambridge, United Kingdom
6 shared publicationsGreg Morrisett
Harvard University, Cambridge, MA, USA
5 shared publicationsMatt Welsh
Harvard University, Cambridge, MA, USA
5 shared publications
Latest Publications
- 7 July 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Radio Frequency Identification
- Vol. 9, 490-506
Toward Realistic SDR-Based Emulation of Ray-Traced Millimeter-Wave Indoor Channels for Next-Generation Wireless Systems
The convergence of advancements in antenna technology with Machine Learning (ML) is envisioned to enhance coverage and capacity for wireless communication systems in complex and dynamic millimeter-wave (mmWave) indoor environments. These environments often experience significant performance variability due to user movement and obstacles. Our study highlights the potential benefits of combining reconfigurable antenna (RA) systems with ML to address mmWave propagation challenges in indoor environments. However, rigorous verification and validation are essential to ensure accurate modeling of mmWave propagation, which is inherently complex and challenging to evaluate experimentally. To circumvent costly, time-intensive, and non-repeatable real-world measurements, we introduce a hardware emulation framework. It enables realistic evaluation of non-stationary, ray-traced channel models with a large number of propagation paths. This framework integrates realistic channel coefficients from site-specific 3D raytracing scenarios with RA-equipped access points (APs) and user mobility features. It incorporates them into a softwaredefined radio (SDR)-based full-mesh wireless channel emulation system, enabling the coexistence of virtual and real nodes. We present experimental results from transceiver hardware-in-theloop testing in this testbed. These results feature repeatable and controllable path loss and delays between communicating nodes. Experimental evaluations confirmed that intelligent state selection algorithms, particularly Thompson Sampling and UCB1-Tuned, significantly enhance system performance in terms of throughput and packet error rate, outperforming traditional omni-directional antenna configurations.
- 7 July 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Radio Frequency Identification
- Vol. 9, 490-506
Toward Realistic SDR-Based Emulation of Ray-Traced Millimeter-Wave Indoor Channels for Next-Generation Wireless Systems
The convergence of advancements in antenna technology with Machine Learning (ML) is envisioned to enhance coverage and capacity for wireless communication systems in complex and dynamic millimeter-wave (mmWave) indoor environments. These environments often experience significant performance variability due to user movement and obstacles. Our study highlights the potential benefits of combining reconfigurable antenna (RA) systems with ML to address mmWave propagation challenges in indoor environments. However, rigorous verification and validation are essential to ensure accurate modeling of mmWave propagation, which is inherently complex and challenging to evaluate experimentally. To circumvent costly, time-intensive, and non-repeatable real-world measurements, we introduce a hardware emulation framework. It enables realistic evaluation of non-stationary, ray-traced channel models with a large number of propagation paths. This framework integrates realistic channel coefficients from site-specific 3D raytracing scenarios with RA-equipped access points (APs) and user mobility features. It incorporates them into a softwaredefined radio (SDR)-based full-mesh wireless channel emulation system, enabling the coexistence of virtual and real nodes. We present experimental results from transceiver hardware-in-theloop testing in this testbed. These results feature repeatable and controllable path loss and delays between communicating nodes. Experimental evaluations confirmed that intelligent state selection algorithms, particularly Thompson Sampling and UCB1-Tuned, significantly enhance system performance in terms of throughput and packet error rate, outperforming traditional omni-directional antenna configurations.
- 2 March 2022
- Published by Drexel University Libraries
Generating Efficient Hardware from High-Level Functional Languages
Very High-Speed Integrated Circuit (VHSIC) hardware description language (VHDL) and Verilog are the two commonly used HDLs in circuit design. In these verbose languages, the hardware designer must often rewrite repetitive code patterns only because the language does not allow for creating new abstractions to eliminate boilerplate code-a piece of code that can be reused several times. VHDL and Verilog enable very limited abstractions for the designer such as the abstraction over bit-width of input/output. New abstractions allow the programmers to focus on high-level specifications and the core computations rather than low-level tedious programming. Leveraging functional language tools allow the designers to build new abstractions and, most importantly, enable modularity and compositionality. As circuits become larger, factoring out common code into new abstractions makes it easier to modify and extend the design. The ability to build new abstractions to reduce programming effort should not, however, come at the cost of performance in hardware design. This thesis first investigates the performance characteristics of high-level functional hardware designs by utilizing Kansas Lava (Gill et al., 2009), a commonly used functional HDL (FHDL), across a number of experimental studies. This includes re-implementations of a Simulink model of orthogonal frequency-division multiplexing (OFDM) (Chacko et al., 2014) components and Intellectual Property (IP) core developments for several Xilinx IPs. Despite demonstrating promising performance and resource utilization when evaluated as individual combinational blocks, we observed performance shortcomings associated with the handshaking of pipeline stages in Kansas Lava FHDL implementations. To eliminate the performance cost, this thesis introduces a VHDL metaprogramming technique, called metaprogramming with combinators, that leverages Haskell as a sophisticated "macro language" to provide designers with new tools and abstractions for expressing circuits without sacrificing control or performance. We generate VHDL by directly embedding VHDL syntax in Haskell by taking advantage of the quasiquotation feature in Haskell. Using quasiquotation, the programmer can directly manipulate the concrete syntax of VHDL for fine control over the generated VHDL while specifying the circuit at a high level. Metaprogramming with combinators allows expressing new tools and abstractions as libraries without changing the language or compiler. A high-level combinator library for specifying hardware pipelines and a library for designing combinational circuits are among the useful available libraries. Finally, using the aforementioned libraries, several IP cores are implemented and show competent performance with corresponding Xilinx IPs. The high-level pipeline library presented in this thesis consists of a standard valid/ready handshaking protocol for the circuits. However, other pipeline protocols can be added to the library without changing the circuit specification. Therefore, designers can both write new abstractions, and use (or extend) the available tools using this technique while still having full control over the performance.
- 2 March 2022
- Published by Drexel University Libraries
Generating Efficient Hardware from High-Level Functional Languages
Very High-Speed Integrated Circuit (VHSIC) hardware description language (VHDL) and Verilog are the two commonly used HDLs in circuit design. In these verbose languages, the hardware designer must often rewrite repetitive code patterns only because the language does not allow for creating new abstractions to eliminate boilerplate code-a piece of code that can be reused several times. VHDL and Verilog enable very limited abstractions for the designer such as the abstraction over bit-width of input/output. New abstractions allow the programmers to focus on high-level specifications and the core computations rather than low-level tedious programming. Leveraging functional language tools allow the designers to build new abstractions and, most importantly, enable modularity and compositionality. As circuits become larger, factoring out common code into new abstractions makes it easier to modify and extend the design. The ability to build new abstractions to reduce programming effort should not, however, come at the cost of performance in hardware design. This thesis first investigates the performance characteristics of high-level functional hardware designs by utilizing Kansas Lava (Gill et al., 2009), a commonly used functional HDL (FHDL), across a number of experimental studies. This includes re-implementations of a Simulink model of orthogonal frequency-division multiplexing (OFDM) (Chacko et al., 2014) components and Intellectual Property (IP) core developments for several Xilinx IPs. Despite demonstrating promising performance and resource utilization when evaluated as individual combinational blocks, we observed performance shortcomings associated with the handshaking of pipeline stages in Kansas Lava FHDL implementations. To eliminate the performance cost, this thesis introduces a VHDL metaprogramming technique, called metaprogramming with combinators, that leverages Haskell as a sophisticated "macro language" to provide designers with new tools and abstractions for expressing circuits without sacrificing control or performance. We generate VHDL by directly embedding VHDL syntax in Haskell by taking advantage of the quasiquotation feature in Haskell. Using quasiquotation, the programmer can directly manipulate the concrete syntax of VHDL for fine control over the generated VHDL while specifying the circuit at a high level. Metaprogramming with combinators allows expressing new tools and abstractions as libraries without changing the language or compiler. A high-level combinator library for specifying hardware pipelines and a library for designing combinational circuits are among the useful available libraries. Finally, using the aforementioned libraries, several IP cores are implemented and show competent performance with corresponding Xilinx IPs. The high-level pipeline library presented in this thesis consists of a standard valid/ready handshaking protocol for the circuits. However, other pipeline protocols can be added to the library without changing the circuit specification. Therefore, designers can both write new abstractions, and use (or extend) the available tools using this technique while still having full control over the performance.
- Open Access
- 17 October 2021
- Published by Association for Computing Machinery (ACM)
- p. 43-54
Metaprogramming with combinators
There are a wide array of methods for writing code generators. We advocate for a point in the design space, which we call metaprogramming with combinators, where programmers use (and write) combinator libraries that directly manipulate object language terms. The key language feature that makes this style of programming palatable is quasiquotation. Our approach leverages quasiquotation and other host language features to provide what is essentially a rich, well-typed macro language. Unlike other approaches, metaprogramming with combinators allows full control over generated code, thereby also providing full control over performance and resource usage. This control does not require sacrificing the ability to write high-level abstractions. We demonstrate metaprogramming with combinators through several code generators written in Haskell that produce VHDL targeted to Xilinx FPGAs.
- 17 October 2021
- Published by Association for Computing Machinery (ACM)
- p. 43-54
Open AccessMetaprogramming with combinators
There are a wide array of methods for writing code generators. We advocate for a point in the design space, which we call metaprogramming with combinators, where programmers use (and write) combinator libraries that directly manipulate object language terms. The key language feature that makes this style of programming palatable is quasiquotation. Our approach leverages quasiquotation and other host language features to provide what is essentially a rich, well-typed macro language. Unlike other approaches, metaprogramming with combinators allows full control over generated code, thereby also providing full control over performance and resource usage. This control does not require sacrificing the ability to write high-level abstractions. We demonstrate metaprogramming with combinators through several code generators written in Haskell that produce VHDL targeted to Xilinx FPGAs.
- 26 November 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 8, 13-18
Real-time Online Learning for Pattern Reconfigurable Antenna State Selection
Pattern reconfigurable antennas (PRAs) can dynamically change their radiation pattern and provide diversity and directional gain. These properties allow them to adapt to channel variations by steering directional beams toward desired transmissions and away from interference sources, thus enhancing the overall performance of a wireless communication system. To fully exploit the benefits of a PRA, the key challenge is being able to optimally select the antenna state in real time. Current literature on this topic, to the best of our knowledge, focuses on the design of algorithms to optimally select the best antenna mode with evaluation performed in simulation or postprocessing. In this study, we have not only designed a real-time online antenna state selection framework for SISO wireless links but we have also implemented it in an experimental software defined radio testbed. We benchmarked the multi-armed bandit algorithm against other antenna state selection algorithms and show how it can improve system performance by mitigating the effects of interference taking advantage of the directionality PRAs provide. We also show that when the optimal state changes over time the bandit approach does not work very well. For such a scenario, we show how the Adaptive Pursuit algorithm works well and can be a great solution. We also discuss what changes could be done to the bandit algorithm to work better in this case.
- 26 November 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 8, 13-18
Real-time Online Learning for Pattern Reconfigurable Antenna State Selection
Pattern reconfigurable antennas (PRAs) can dynamically change their radiation pattern and provide diversity and directional gain. These properties allow them to adapt to channel variations by steering directional beams toward desired transmissions and away from interference sources, thus enhancing the overall performance of a wireless communication system. To fully exploit the benefits of a PRA, the key challenge is being able to optimally select the antenna state in real time. Current literature on this topic, to the best of our knowledge, focuses on the design of algorithms to optimally select the best antenna mode with evaluation performed in simulation or postprocessing. In this study, we have not only designed a real-time online antenna state selection framework for SISO wireless links but we have also implemented it in an experimental software defined radio testbed. We benchmarked the multi-armed bandit algorithm against other antenna state selection algorithms and show how it can improve system performance by mitigating the effects of interference taking advantage of the directionality PRAs provide. We also show that when the optimal state changes over time the bandit approach does not work very well. For such a scenario, we show how the Adaptive Pursuit algorithm works well and can be a great solution. We also discuss what changes could be done to the bandit algorithm to work better in this case.
- 17 December 2016
- Published by Springer Nature in Lecture Notes in Computer Science
- p. 173-188
A Domain-Specific Language for Software-Defined Radio
- 17 December 2016
- Published by Springer Nature in Lecture Notes in Computer Science
- p. 173-188
A Domain-Specific Language for Software-Defined Radio
- Open Access
- 14 March 2015
- Published by Association for Computing Machinery (ACM)
- Vol. 50 (4) , 415-428
Ziria
- 14 March 2015
- Published by Association for Computing Machinery (ACM)
- Vol. 50 (4) , 415-428
Open AccessZiria
- Open Access
- 14 March 2015
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 43 (1) , 415-428
Ziria
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.
- 14 March 2015
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 43 (1) , 415-428
Open AccessZiria
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.
- Open Access
- 14 March 2015
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 50 (4) , 415-428
Ziria
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.
- 14 March 2015
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 50 (4) , 415-428
Open AccessZiria
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.
- Open Access
- 7 September 2014
- Published by Association for Computing Machinery (ACM)
- p. 359-362
Poster: Ziria
- 7 September 2014
- Published by Association for Computing Machinery (ACM)
- p. 359-362
Open AccessPoster: Ziria