top of page
Adiuvo Engineering & Training logo
MicroZed Chronicles icon

MicroZed Chronicles: Local AI as its actually used!

4 minutes ago
4 min read

Over the last few months you have seen me write about using local LLMs on hardware in my lab to bench mark a range of different models. Recently we have looked at the performance of local coding models and frameworks such as ROSS which support agentic AI.


One of the key elements we have not looked at so far is how we are able to use the AI models day to day for AI driven development.



I am interested in local AI for several reasons


  • Security –FPGA is often developed under a NDA pasting RTL into a hosted service may breach the contract no matter how good the provider's data handling is.

  • Cost – An agent that compiles, simulates and repairs in a loop uses far more tokens than a chat does. Locally, the cost is the hardware and the electricity (which happens to be free in my office).

  • Accessibility – No rate limits, no outages, no model being retired halfway through a project. A benchmark I ran in October gives the same answer in March.


Of course that does not mean I will not use Frontier model LLMs for some developments where they make sense and I have used Frontier models significantly to pull together my local AI solution.


My solution currently is based around an AMD Strix Halo box with 128 GB of unified memory, it has Vivado, Vitis, Blue Pearl, and the development board can be connected over JTAG as required.


On the same network are other Linux machines which have GPUs connected which can be used as sub agents to write the HDL.


I wanted a front end that would allow to do several things


  • Chat like I would with a frontier model, this might be about device capabilities or issues which pop up during development e.g. errors and warnings. On my system I have been using OpenWeb UI.

  • RTL Coding – harness agent to leverage the installed MCPs to create FPGA design using an agentic flow. For my system I use DeepSeek Harness.

  • Bench marking results from previous CVDP runs or starting another CVDP run

  • Usage of the AI models, this includes performance, tokens/s, use over time and when the power monitoring plugs arrive the energy used by the Halo box and other nodes within the network.


All of this is pulled together into a hub page which can be accessed from my company network, each user needs a log in as well as VPN access to be able to access it.


From here I can use the LLMs, MCPs, and specially trained models to implement FPGA solutions, especially leveraging the ROSS agentic framework.


To demonstrate this would work and pipe clean the process, I used the agentic coding framework to create a MicroBlaze V design, targeting a SCU35 and saying helloworld in a loop once a second until stopped.


The requirement was pretty simple, which was passed to the harness, using the LLM and the ROSS skills a Vivado project was created, and the design implemented as required along with implementation being completed and timing closure achieved.



Following that Vitis was called to create the platform based on the exported SCU35 design and the application SW written and compiled.



The only human intervention was I had to change the SCU35 boot mode to JTAG from QSPI. The serial port output as shown below looks to be doing what we expected.


Overall this provides a nice simple solution for developing FPGAs, using AI in a secure way which keeps my RTL away from the possibly distilling in the cloud.


Next up is to start stress testing the designs especially for RTL generation and testing on real hardware to demonstrate capabilities.


FPGA Journal

Read about cutting edge FPGA developments, in the FPGA Horizons Journal or contribute an article.


Workshops and Webinars:

If you enjoyed the blog why not take a look at the free webinars, workshops and training courses we have created over the years. Highlights include:



Boards

Get an Adiuvo development board:

  • Adiuvo Embedded System Development board - Embedded System Development Board

  • Adiuvo Embedded System Tile - Low Risk way to add a FPGA to your design.

  • SpaceWire CODEC - SpaceWire CODEC, digital download, AXIS Interfaces

  • SpaceWire RMAP Initiator - SpaceWire RMAP Initiator,  digital download, AXIS & AXI4 Interfaces

  • SpaceWire RMAP Target - SpaceWire Target, digital download, AXI4 and AXIS Interfaces

  • Other Adiuvo Boards & Projects.


Embedded System Book   

Do you want to know more about designing embedded systems from scratch? Check out our book on creating embedded systems. This book will walk you through all the stages of requirements, architecture, component selection, schematics, layout, and FPGA / software design. We designed and manufactured the board at the heart of the book! The schematics and layout are available in Altium here.  Learn more about the board (see previous blogs on Bring up, DDR validation, USB, Sensors) and view the schematics here.


All words in this blog were written by a human.

bottom of page