How it works

Three steps take you from a description of what you want the chip to do, to a file you can send to a 3D printer.

  1. Describe the chip

    Today you describe it in a design file that lists the chip’s parts and how they connect, as the examples that come with the design software do. You do not need to draw anything.

    Coming soon Describing the chip in plain words instead: what liquids go in, how much of each, and what should happen to them.

  2. Compile the spec

    Our design software works out where every channel and chamber goes, and produces a file you can 3D print.

    Yosys → OpenROAD → OpenSCAD: they synthesize, place, route, and emit a printable STL.

  3. Take the files

    Download the STL and SCAD. What happens after that — printing, mounting, actuation — is up to you; the Foundry publishes the geometry, not a fabrication route.

    What is known about the printers, resin and process is recorded on Hardware and process.

Run the design software on your own computer

The design software is open source. Its code is public in its repository on GitHub, github.com/utah-MFDA/openmfda. It runs on your own computer, and you set it up and run it by typing commands into a terminal. These steps build its demo chip.

In the demo chip, liquid 2 runs through two serpentine channels and meets liquid 1 in the first mixer; that mix meets liquid 3, which has run through three serpentines, in the second mixer; the result runs through one more serpentine to the outlet.

Computer render of a design: the demo chip seen from above, its block drawn see-through in grey. Inside it, blue channels: six serpentine channels, four long and two short, and two small mixers just below the middle, joined by straight channels. Two darker squares, with a grid of small squares between them, are the connector on its top face.
From above. The block and the connector on its top face are drawn see-through, and the channels inside the block are blue.
Computer render of a design: the demo chip seen at an angle, its block drawn see-through in grey with the blue channels inside it. On its top face stands its connector, a pedestal with 32 bores between two blocks.
At an angle, with the connector standing on the chip’s top face.

On Linux

  1. Install the programs it uses, each one runnable from the terminal by its name: OpenROAD, Yosys, KLayout, OpenSCAD, make, GNU time, and Python 3.9, 3.10 or 3.11. The build stops at its start if OpenROAD, Yosys, KLayout, OpenSCAD or Python is missing.
  2. Download the design software and the parts it brings with it:
    git -c url."https://github.com/".insteadOf="git@github.com:" \
        clone --recurse-submodules https://github.com/utah-MFDA/openmfda.git
    cd openmfda
    One of those parts is listed under an SSH address, which would need a GitHub key; the -c part has git fetch it over HTTPS instead.
  3. Make two fixes to the downloaded files:
    sed -i 's/klayout==0.29.10/klayout==0.29.12/' python-requirements.txt
    ln -sfn ../pdk/distrib/latest/scad_libraries/h.r.3.3 \
        flow/platforms/h.r.3.3/scad/h.r.3.3
    The first asks for KLayout’s Python package 0.29.12 instead of the 0.29.10 that python-requirements.txt names, which is no longer on PyPI. The second points the build to the design kit’s library of chip parts: without it, the build finishes without an error, but the chip has none of its parts.
  4. Set up its Python packages. They need Python 3.9, 3.10 or 3.11; here it is 3.11:
    python3.11 -m venv env
    source env/bin/activate
    pip3 install -r python-requirements.txt
  5. Build the demo chip, from the design software’s flow folder, with the Python environment active:
    cd flow
    make DESIGN=demo pnr render
    This places and routes the chip (pnr) and draws it in 3D (render).
  6. Find the results in the design software’s folder, under flow/results/demo/base/: demo_base.stl and demo_base.scad are the chip’s 3D model, and OpenSCAD opens the .scad file. To look at it, run make DESIGN=demo show from the flow folder.

If a step does not work for you, Feedback tells us, and the design software’s code is in its repository on GitHub.

Coming soon One download that sets up the design software and the programs it uses for you, with no commands to type.

What you can use now

To build one kind of part in your browser today, use the simple-chip makers: a straight channel, a chamber chip and a droplet junction. They make designs for the grid you choose: the BYU printer’s (7.6 µm), the Phrozen Sonic Mighty 12K’s or your own.

← Back to Design