Separation Logic for Memory Conflict Detection in High-Level Synthesis

The work

AuthorsYeonseok Lee
Editors
Typemisc
Year2026
Citekeylee2026separation

Identifiers

arXiv2607.07126 from its landing_page_url

Related

Distinct fromsarma2024maskedhls

From bibtex.

Abstract

High-Level Synthesis leverages loop unrolling and array partitioning, but scheduling concurrent accesses is challenging when indices contain non-affine arithmetic. Conventional polyhedral frameworks systematically over-approximate these non-linear transformations, forcing conservative serialization that degrades performance. To minimize this bottleneck, we present a spatial verification framework operating at the LLVM Intermediate Representation (IR) level. By extracting flat arithmetic expressions from getelementptr instructions, it models memory banks as polymorphic spatial predicates to handle non-affine terms. Structural safety is enforced via a Conflict-Free Unrolling condition using Separation Logic's separating conjunction; concurrent operations targeting the same bank trigger an automatic spatial contradiction. This disjointness requirement is reduced to a matrix of pairwise inequalities over immutable Static Single Assignment (SSA) variables for a Satisfiability Modulo Theories (SMT) oracle. To guarantee safety against undecidable non-linear arithmetic, we implement a deterministic sequential fallback. Finally, a theorem of soundness bridges algebraic SMT verification with Register Transfer Level trace safety, ensuring physical hardware immune to structural memory collisions.

A copy is held

pdf, 410.6 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-17 08:24 UTC
Approved bya person 2026-09-17 16:55 UTC

Cite it as

@misc{lee2026separation,
  title        = {Separation Logic for Memory Conflict Detection in High-Level Synthesis},
  author       = {Yeonseok Lee},
  year         = {2026},
}

This record lives at https://refs.drheap.org/lee2026separation/ and will keep doing so.