skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: A compiler for cyber-physical digital microfluidic biochips
Programmable microfluidic laboratories-on-a-chip (LoCs) offer the benefits of automation and miniaturization to the life sciences. This paper presents an updated version of the BioCoder language and a fully static (offline) compiler that can target an emerging class of LoCs called Digital Microfluidic Biochips (DMFBs), which manipulate discrete droplets of liquid on a 2D electrode grid. The BioCoder language and runtime execution engine leverage advances in sensor integration to enable specification, compilation, and execution of assays (bio-chemical procedures) that feature online decision-making based on sensory data acquired during assay execution. The compiler features a novel hybrid intermediate representation (IR) that interleaves fluidic operations with computations performed on sensor data. The IR extends the traditional notions of liveness and interference to fluidic variables and operations, as needed to target the DMFB, which itself can be viewed as a spatially reconfigurable array. The code generator converts the IR into the following: (1) a set of electrode activation sequences for each basic block in the control flow graph (CFG); (2) a set of computations performed on sensor data, which dynamically determine the result of each control flow operation; and (3) a set of electrode activation sequences for each control flow transfer operation (CFG edge). The compiler is validated using a software simulator which produces animated videos of realistic bioassay execution on a DMFB.  more » « less
Award ID(s):
1640757 1351115 1536026 1740052 1545097
PAR ID:
10067821
Author(s) / Creator(s):
; ;
Date Published:
Journal Name:
Proceedings of the 2018 International Symposium on Code Generation and Optimization - CGO 2018
Page Range / eLocation ID:
365 to 377
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. Abstract Microfluidic valves play a key role within microfluidic systems by regulating fluid flow through distinct microchannels, enabling many advanced applications in medical diagnostics, lab‐on‐chips, and laboratory automation. While microfluidic systems are often limited to planar structures, 3D printing enables new capabilities to generate complex designs for fluidic circuits with higher densities and integrated components. However, the control of fluids within 3D structures presents several difficulties, making it challenging to scale effectively and many fluidic devices are still often restricted to quasi‐planar structures. Incorporating mechanical metamaterials that exhibit spatially adjustable mechanical properties into microfluidic systems provides an opportunity to address these challenges. Here, systematic computational and experimental characterization of a modified re‐entrant honeycomb structure are performed to generate a modular metamaterial for an active device that allows us to directly regulate flow through integrated, multiplexed fluidic channels “one‐at‐a‐time,” in a manner that is highly scalable. A design algorithm is presented, so that this architecture can be extended to arbitrary geometries, and it is expected that by incorporation of mechanical metamaterial designs into 3D printed fluidic systems, which themselves are readily expandable to any complex geometries, will enable new biotechnological and biomedical applications of 3D printed devices. 
    more » « less
  2. null (Ed.)
    We present LLSC, a prototype compiler for nondeterministic par- allel symbolic execution of the LLVM intermediate representation (IR). Given an LLVM IR program, LLSC generates code preserving the symbolic execution semantics and orchestrating solver invo- cations. The generated code runs efficiently, since the code has eliminated the interpretation overhead and explores multiple paths in parallel. To the best of our knowledge, LLSC is the first compiler for fork-based symbolic execution semantics that can generate parallel execution code. In this demonstration paper, we present the current development and preliminary evaluation of LLSC. The principle behind LLSC is to automatically specialize a symbolic interpreter via the 1st Futamura projection, a fundamental connection between in- terpreters and compilers. The symbolic interpreter is written in an expressive high-level language equipped with a multi-stage programming facility. We demonstrate the run time performance through a set of benchmark programs, showing that LLSC outperforms interpretation-based symbolic execution engines in significant ways. 
    more » « less
  3. Many data-driven software engineering tasks such as discovering programming patterns, mining API specifications, etc., perform source code analysis over control flow graphs (CFGs) at scale. Analyzing millions of CFGs can be expensive and performance of the analysis heavily depends on the underlying CFG traversal strategy. State-of-the-art analysis frameworks use a fixed traversal strategy. We argue that a single traversal strategy does not fit all kinds of analyses and CFGs and propose bespoke control flow analysis (BCFA). Given a control flow analysis (CFA) and a large number of CFGs, BCFA selects the most efficient traversal strategy for each CFG. BCFA extracts a set of properties of the CFA by analyzing the code of the CFA and combines it with properties of the CFG, such as branching factor and cyclicity, for selecting the optimal traversal strategy. We have implemented BCFA in Boa, and evaluated BCFA using a set of representative static analyses that mainly involve traversing CFGs and two large datasets containing 287 thousand and 162 million CFGs. Our results show that BCFA can speedup the large scale analyses by 1%-28%. Further, BCFA has low overheads; less than 0.2%, and low misprediction rate; less than 0.01%. 
    more » « less
  4. Emerging sensing applications create an unprecedented need for energy efficiency in programmable processors. To achieve useful multi-year deployments on a small battery or energy harvester, these applications must avoid off-device communication and instead process most data locally. Recent work has proven coarse-grained reconfigurable arrays (CGRAs) as a promising architecture for this domain. Unfortunately, nearly all prior CGRAs support only computations with simple control flow and no memory aliasing (e.g., affine inner loops), causing an Amdahl efficiency bottleneck as non-trivial fractions of programs must run on an inefficient von Neumann core.RipTide is a co-designed compiler and CGRA architecture that achieves both high programmability and extreme energy efficiency, eliminating this bottleneck. RipTide provides a rich set of control-flow operators that support arbitrary control flow and memory access on the CGRA fabric. RipTide implements these primitives without tagged tokens to save energy; this requires careful ordering analysis in the compiler to guarantee correctness. RipTide further saves energy and area by offloading most control operations into its programmable on-chip network, where they can re-use existing network switches. RipTide’s compiler is implemented in LLVM, and its hardware is synthesized in Intel 22FFL. RipTide compiles applications written in C while saving 25% energy v. the state-of-the-art energy-minimal CGRA and 6.6 × energy v. a von Neumann core. 
    more » « less
  5. We built an integrated solid-contact ion-selective electrode (SCISE) system with the functionality of self-calibration. A multiplexed SCISE sensor (K+ and NO3− vs. Ag/AgCl) was fabricated on printed-circuit board (PCB) substrates and was subsequently embedded into a microfluidic flow cell for self-calibration and flow-through analysis. A PCB circuit that includes modules for both sensor readout and fluid control was developed. The sensors showed a fast and near-Nernstian response (56.6 for the K+ electrode and −57.4 mV/dec for the NO3− electrode) and maintained their performance for at least three weeks. The sensors also showed a highly reproducible response in an automated two-point calibration, demonstrating the potential for in situ monitoring. Lastly, the sensor system was successfully applied to measure mineral nutrients in plant sap samples. 
    more » « less