How mpa216/deep-learning-accelerator-dla-engine-from-cnn-to-genai-snn works
APIC_A is a tapeout-oriented GF180MCU accelerator that runs a quantized MNIST GAN generator. Its principal workflow converts a checkpoint to INT8 assets, tiles dense layers across a 4×4 DLA, then applies software-defined bias, requantization and activations to produce an image. The documented hardware includes a controller, PE array, SRAM-backed operand buffers, a flip-flop result buffer and a serial host bridge. Verification and physical-design/signoff are important companion branches. RTL paths are not present in the supplied tree, so those nodes use null paths; those relationships rely on the README, not inspected RTL.
Main entry points: ckpt_to_vh.py INT8 Quantization · gen_g300_int8_assets.py GAN Asset Calibration · gen_d3004_vectors.py Golden Vectors · connect_power.py PDN Ring Connector
Components 19
Model and Assets
- FP32 Checkpoint
- INT8 Quantization
scripts/ckpt_to_vh.py - Memory Assets
- GAN Asset Calibration
scripts/gen_g300_int8_assets.py
Accelerator
- GAN Tiling Orchestrator
- Transaction Controller
- INT8 PE Array
- A/B SRAM Buffers
- C Result Buffer
- Serial Host Bridge
- Generated Image
Verification
- Golden Vectors
scripts/gen_d3004_vectors.py - Bit-True RTL Checks
- Gate-Level Simulation
Physical Design
- RTL-to-GDS Flow
- GF180 SRAM Macros
- PDN Ring Connector
librelane/connect_power.py - Signed-Off GDS
Other components
- Model User
Connections 22
- Model User → FP32 Checkpoint: provides
- FP32 Checkpoint → INT8 Quantization: quantizes
- INT8 Quantization → Memory Assets: exports weights
- Model User → GAN Asset Calibration: calibrates assets
- GAN Asset Calibration → Memory Assets: emits assets
- Memory Assets → GAN Tiling Orchestrator: loads tiles
- GAN Tiling Orchestrator → Transaction Controller: starts transactions
- Transaction Controller → INT8 PE Array: sequences MACs
- GAN Tiling Orchestrator → A/B SRAM Buffers: writes operands
- A/B SRAM Buffers → INT8 PE Array: supplies operands
- INT8 PE Array → C Result Buffer: writes accumulators
- GAN Tiling Orchestrator → C Result Buffer: reads results
- GAN Tiling Orchestrator → Generated Image: activates layers
- Model User → Serial Host Bridge: sends commands
- Serial Host Bridge → GAN Tiling Orchestrator: frames commands
- Model User → Golden Vectors: generates references
- Golden Vectors → Bit-True RTL Checks: checks outputs
- GAN Tiling Orchestrator → Bit-True RTL Checks: provides RTL results
- Bit-True RTL Checks → Gate-Level Simulation: validates layout netlist
- RTL-to-GDS Flow → GF180 SRAM Macros: integrates macros
- RTL-to-GDS Flow → PDN Ring Connector: uses connector
- RTL-to-GDS Flow → Signed-Off GDS: produces layout