Abstract
An efficient design methodology for adaptive system based on direct configuration bitstream (CB) evolution has been proposed, which models the relationship between resources and CBs of the field programmable gate array (FPGA), and then generates CBs online according to the models built. The system framework and design methodology have been given and verified on Xilinx Virtex-5 FPGA. Results show that it can implement embedded online self-programming of FPGA’s logic and routing resources via modifying CBs directly; and has lower resources overhead, lesser time consumption, and stronger adaptability than the mainstream evolution approaches.
Introduction
In extreme environments like deep space, electronic systems must be "evolvable"—capable of adapting their circuitry to repair faults or change functions autonomously. Traditionally, this is achieved using Evolvable Hardware (EHW) on Field Programmable Gate Arrays (FPGAs). However, existing methods often struggle with a trade-off between performance and resource consumption. Virtual Reconfigurable Circuits (VRC) are slow and consume significant chip space, while Dynamic Partial Reconfiguration (DPR) typically requires heavy Electronic Design Automation (EDA) software that is too memory-intensive for embedded loops in satellites or robots.
Methodology: Direct Bitstream Evolution
The proposed methodology focuses on Direct Bitstream Evolution. Instead of treating the FPGA configuration bitstream (CB) as an opaque "black box," the researchers developed mathematical models to describe the relationship between physical resources and the bitstream. This includes resource modeling to locate specific Look-Up Tables (LUTs) and Programmable Interconnect Points (PIPs) within the bitstream based on X-Y coordinates, and function mapping to translate logic functions directly into LUT configuration strings.
The system utilizes Cartesian Genetic Programming (CGP) where a "chromosome" defines both routing and logic functions. This allows for fine-grained co-evolution of both gates and wiring without external EDA tools, bypassing the traditional synthesis and routing steps.
Hardware Implementation
The system was implemented on a Xilinx Virtex-5 FPGA. The architecture includes an on-chip MicroBlaze processor to manage the Genetic Algorithm and a "HWICAP" controller to write the generated bitstreams directly into the FPGA fabric. This setup allows the system to perform online self-programming entirely within the embedded environment.
Key Results
The direct bitstream evolution approach demonstrated significant improvements over traditional methods:
- Speed: Bitstream generation took only 0.1 seconds, representing a 285.3x speedup compared to the 28.53 seconds required by traditional EDA flows.
- Resource Efficiency: The method reduced the required Configurable Logic Blocks (CLBs) by 99.06% compared to coarse-grained DPR approaches.
- Storage: Memory requirements for configuration data were reduced to 45% of the amount needed for standard DPR methods.
- Adaptability: In tests using an adaptive image filter on the "Lena" image, the system successfully mitigated Gaussian and salt-and-pepper noise, proving functional self-healing capabilities.
Conclusion
This methodology enables efficient embedded online self-programming of FPGA resources with minimal overhead. By modeling the bitstream directly, the system eliminates the need for external EDA software, making it suitable for autonomous systems in resource-constrained environments. Future work will focus on extending the system to handle sequential logic and relaxing routing constraints to support more complex hardware evolution.
Summary updated