# Atik: A Shared-Mesh Transformer Accelerator for RISC-V

DevFeed: [Atik: A Shared-Mesh Transformer Accelerator for RISC-V](<https://devfeed.tech/articles/atik-a-shared-mesh-transformer-accelerator-for-risc-v-124695.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09522>)

Author: Ahmed Zeer, Erkan Uslu

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [RISC-V](<https://devfeed.tech/topics/riscv.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [bf16](<https://devfeed.tech/tags/bf16.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [mesh](<https://devfeed.tech/tags/mesh.md>), [records](<https://devfeed.tech/tags/records.md>), [risc-v](<https://devfeed.tech/tags/risc-v.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [transformer](<https://devfeed.tech/tags/transformer.md>), [zero](<https://devfeed.tech/tags/zero.md>)

## AI overview

Atik is an open-source RocketChip RoCC accelerator that runs matrix multiplication and dense attention on one shared fixed-point MAC mesh. It accepts and returns BF16 tensors, uses streaming online softmax without materializing the full score matrix, and is called through a descriptor-based ABI. In cycle-by-cycle FireSim evaluation, all 137 logged test records passed benchmark tolerance with no reported output mismatches. Against the same scalar Rocket BF16 reference, the 8x8 mesh reached peak speedups of 31.5x for matmul and 225.8x for attention. Hybrid projections based on single-layer workload-derived C models and measured accelerator-kernel cycles reported aggregate speedups of 44.2x for ViT, 77.1x for TinyBERT, and 32.3x for GPT-2 prefill; these were not full-model hardware replays.

## Source excerpt

arXiv:2611.09522v1 Announce Type: new Abstract: Transformer inference repeatedly invokes dense matrix multiplication and attention, including its data-dependent softmax normalization. We present Atik, an open-source RoCC accelerator for RocketChip that executes matrix multiplication and dense attention through one shared fixed-point MAC mesh. Atik accepts and returns BF16 tensors, uses a streaming online-softmax schedule that never materializes the full score matrix, and is invoked through a small descriptor-based ABI. We evaluate three meshes cycle-by-cycle on FireSim and report standalone Sky130 physical-design area. Across 137 logged FireSim test records, all tests pass their benchmark tolerance with zero reported output mismatches. Relative to the same scalar Rocket BF16 reference, the 8x8 configuration reaches 31.5x peak matmul speedup and 225.8x peak attention speedup. Hybrid projections for the single-layer workload-derived C models, using directly measured accelerator-kernel cycles, give aggregate speedups of 44.2x, 77.1x, and 32.3x for ViT, TinyBERT, and GPT-2 prefill, respectively; these are not full-model hardware replays.