PicoRV32 in use at ALS
- Matt Venn
- Nov 22, 2019
- 2 min read
Updated: Dec 20, 2019

I recently spoke to engineer Michael Betz about his work with particle accelerators and Open Source hardware and software. With 7 years of experience at CERN and another 3 at ALS in California he has some great experience with building big science infrastructure.
In the old days, a particle accelerator was linear, and the electrons were accelerated with a huge electric field. Today, we run electrons in bunches around huge rings, steered by massive electromagnets, and accelerated with precisely timed electric fields. With many bunches of electrons hurtling around the ring 5 million times per second, these fields end up in the 500MHz range, which is why Michael calls himself an RF engineer.
If you’re pushing a child on a swing, you need to time your impulses to get them going faster. In an accelerator, controlling the phase, amplitude and timing are critical to increase the speed of the bunches of electrons. Michael’s group work on a closed loop RF system that uses sensors, fast ADCs and FPGAs to get this control system to work.

The group recently presented their work at the Low Level Radio Frequency Workshop. Reasons given for publishing their software and hardware as Open Source were a general dislike of black boxes, and to make their work reproducible as possible. Their software library (called Bedrock) includes their DSP work for the RF control system and includes all test benches and unit tests. Their new hardware (called Marble) was designed using Kicad.
One reason I wanted to talk with Michael was to understand why they chose to use Clifford Wolf’s PicoRV32 processor in their safety systems. The RF energy involved in these systems is at such a high level that it can damage the equipment if things go wrong. The equipment safety system monitors arcing in the waveguides, temperatures and RF power levels. They need to switch the system off in less than a microsecond if a fault is detected. To guarantee low latency they use an FPGA running at 125MHz. This works great for the ADCs used for power levels, but the temperature information is collected using industrial PLCs communicating over modbus.
Ideally they wanted a Formally Verified processor that could run in the same clock domain as the ADCs, while being able to run some C firmware that could interface with the PLCs over modbus. PicoRV32 fit the bill perfectly and is now an integrated part of their equipment safety system.
While a lot of their software and hardware is Open Source, they are still using proprietary IP blocks for fast communication on the Xilinx FPGAs. To this end they are experimenting with the Lattice ECP5, now supported experimentally by nextpnr.
We’d like to thank Michael again for his time in explaining why Open Source tools and software are important in this fascinating field.
I was diagnosed of herpes 2 years ago, and ever since then i have been taking treatment to prevent outbreaks, burning and blisters,but there was no improvement until i came across testimonies of DR. Guba on how he has been curing different people from different diseases all over the world, then i contacted him. After our conversation he sent me the medicine which I took according to his instructions for up to 2 weeks. After completing the medication I went back to my doctor for another test and the virus was all gone and I was completely cured, since then I have not had any signs of outbreak.I’m so filled with joy.With herbal medication Herpes Virus is 100% curable.I recommend…
After five years of relationship, my partner and I separated. Despite my efforts to reconcile, nothing worked—until I was advised to seek spiritual guidance. Through Dr. Mandla’s prayers and support, we experienced a reconciliation I never thought possible. We're now happily reunited. I believe more than ever in the power of prayer and encourage anyone facing relationship struggles to fight for what they love. You can still save your marriage if your heart's in it. Reach out: ( supremacylovespell01 @ gmail. com ).
After my diagnosis with ALS, I felt heartbroken, but I’m thrilled to share that I found healing through the wonderful herbal remedies provided by Dr. Guba. If you or anyone you know is facing this illness, I wholeheartedly encourage you to visit [Dr. Guba website] https://drgubahealingherbs.wixsite.com/guba-healing-herbs, Email: Drgubahealingherbs@gmail.com OR reach out via WhatsApp at +2348162388034. There is hope, and support is out there!
I was diagnosed of herpes 2 years ago, and ever since then i have been taking treatment to prevent outbreaks, burning and blisters,but there was no improvement until i came across testimonies of DR. Guba on how he has been curing different people from different diseases all over the world, then i contacted him. After our conversation he sent me the medicine which I took according to his instructions for up to 2 weeks. After completing the medication I went back to my doctor for another test and the virus was all gone and I was completely cured, since then I have not had any signs of outbreak.I’m so filled with joy.With herbal medication Herpes Virus is 100% curable.I recommend…
Get rid of all kinds of Herpes and virus infections, Diabetes, Hepatitis A B C, Menopause and HIV with Natural Roots and Herbs, i was once infected with HERPES and after using Dr GUBA Herbal Medicine for couple of days i couldn’t trace it anymore, i even went for checkup and my test came out Negative. Get your cure today from this wonderful herbalist, Dr. GUBA. You can also reach DOCTOR GUBA on WhatsApp+2348162388034 or Email drgubahealingherbs@gmail.com His website:https://drgubahealing herbs.wixsite.com/guba-healing-herbs