Skip to main content
QUICK REVIEW

[논문 리뷰] Manticore: Hardware-Accelerated RTL Simulation with Static Bulk-Synchronous Parallelism

Mahyar Emami, Sahand Kashani|arXiv (Cornell University)|2023. 01. 23.
Embedded Systems Design TechniquesComputer Science인용 수 3
한 줄 요약

Manticore는 런타임 동기화 오버헤드를 제거하기 위해 정적 블록 동기식 병렬(BSP) 실행 모델을 사용하는 하드웨어 가속 RTL 시뮬레이터이다. 이는 225개의 FPGA 기반 코어를 통해 효율적인 미세 병렬 처리를 가능하게 하며, 시뮬레이션 속도가 115 kHz를 초과하여 고성능 CPU에서 작동하는 최신 소프트웨어 시뮬레이터인 Verilator를 뛰어넘는 성능을 달성한다. 이는 시스템의 클럭 속도가 그들의 1/10에도 못 미치는 상황에서 이루어진 것이다.

ABSTRACT

The demise of Moore's Law and Dennard Scaling has revived interest in specialized computer architectures and accelerators. Verification and testing of this hardware depend heavily upon cycle-accurate simulation of register-transfer-level (RTL) designs. The fastest software RTL simulators can simulate designs at 1--1000 kHz, i.e., more than three orders of magnitude slower than hardware. Improved simulators can increase designers' productivity by speeding design iterations and permitting more exhaustive exploration. One possibility is to exploit low-level parallelism, as RTL expresses considerable fine-grain concurrency. Unfortunately, state-of-the-art RTL simulators often perform best on a single core since modern processors cannot effectively exploit fine-grain parallelism. This work presents Manticore: a parallel computer designed to accelerate RTL simulation. Manticore uses a static bulk-synchronous parallel (BSP) execution model to eliminate fine-grain synchronization overhead. It relies entirely on a compiler to schedule resources and communication, which is feasible since RTL code contains few divergent execution paths. With static scheduling, communication and synchronization no longer incur runtime overhead, making fine-grain parallelism practical. Moreover, static scheduling dramatically simplifies processor implementation, significantly increasing the number of cores that fit on a chip. Our 225-core FPGA implementation running at 475 MHz outperforms a state-of-the-art RTL simulator running on desktop and server computers in 8 out of 9 benchmarks.

연구 동기 및 목표

  • 현대 다중코어 CPU에서 미세 병렬 처리를 효율적으로 활용하지 못해 발생하는 RTL 시뮬레이션의 성능 저하 문제를 해결하기 위해.
  • 하드웨어 개발 주기에서 시뮬레이션의 전환 시간을 단축하고 설계자 생산성을 향상시키기 위해.
  • 특수화된 가속기 아키텍처를 사용해 고속도, 사이클 정밀도의 RTL 설계 시뮬레이션을 가능하게 하기 위해.
  • 정적 스케줄링이 런타임 동기화 비용을 제거함으로써 미세 병렬 처리를 RTL 시뮬레이션에서 실현 가능하게 할 수 있음을 입증하기 위해.
  • 컴파일러 최적화된 결정론적 하드웨어 플랫폼을 제공하여 확장 가능하고 고성능의 시뮬레이션을 지원하기 위해.

제안 방법

  • Manticore는 모든 통신 및 동기화를 컴파일 시점에 스케줄링함으로써 런타임 오버헤드를 제거하는 정적 블록 동기식 병렬(BSP) 실행 모델을 사용한다.
  • 각 코어는 최소한의 명령어 세트를 가지며, 정적이고 결정론적인 간단한 프로세서 코어 수백 개를 사용해 RTL 설계 내의 미세 병렬성을 활용한다.
  • 맞춤형 컴파일러는 RTL 코드를 정적 분석하여 데이터 의존성 기반으로 병렬 작업을 식별하고, 이를 코어 간에 스케줄링하며 통신 및 동기화를 포함한다.
  • 통신은 데이터 전송을 위한 저지연, 블록 동기식 전송을 지원하는 하드웨어 최적화된 네트워크온칩(NoC)을 통해 관리된다.
  • 시스템은 225개의 코어를 내장하고 475 MHz에서 동작하는 FPGA에 구현되었으며, 높은 코어 수와 에너지 효율성을 확보한다.
  • 컴파일러는 Manticore 가속기용 바이너리 코드를 생성하여 소프트웨어 개발 워크플로우와 유사한 빠른 컴파일 및 시뮬레이션 전환 시간을 보장한다.
Figure 1. An example single-clock netlist (top) and its DAG representation (bottom). Circles represent gates and rectangles represent registers.
Figure 1. An example single-clock netlist (top) and its DAG representation (bottom). Circles represent gates and rectangles represent registers.

실험 결과

연구 질문

  • RQ1정적 스케줄링이 미세 병렬 RTL 시뮬레이션에서 런타임 동기화 오버헤드를 제거할 수 있는가?
  • RQ2정적 BSP 기반 하드웨어 가속 시뮬레이터는 최신 소프트웨어 RTL 시뮬레이터와 비교해 시뮬레이션 처리량 측면에서 어떻게 성능을 내는가?
  • RQ3수백 개의 단순 코어를 갖춘 특수 아키텍처가 일반 목적 CPU에 비해 RTL 시뮬레이션에서 얼마나 뛰어난 성능을 낼 수 있는가?
  • RQ4동적 런타임 스케줄링 대신 정적 컴파일러 기반 스케줄링을 사용해 고성능의 RTL 시뮬레이션을 실현할 수 있는가?
  • RQ5정적 스케줄링이 다양한 RTL 벤치마크에서 시뮬레이션 처리량에 미치는 영향은 어느 정도인가?

주요 결과

  • Manticore의 225코어 FPGA 프로토타입은 115 kHz를 초과하는 시뮬레이션 속도를 달성하여 고성능 CPU에서 동작하는 Verilator를 뛰어넘는 성능을 보였다.
  • 9개의 벤치마크 중 8개에서 Manticore는 데스크톱 및 서버급 프로세서에서 동작하는 최신 소프트웨어 RTL 시뮬레이터인 Verilator를 능가했다.
  • 정적 BSP 모델은 런타임 동기화 및 통신 오버헤드를 제거하여, 미세 병렬 처리의 효율적 활용을 가능하게 했다.
  • 컴파일러 기반 정적 스케줄링 덕분에 수백 개의 코어를 단일 칩에 통합할 수 있었으며, 일반 목적의 다중코어 프로세서에 비해 훨씬 높은 병렬 처리 능력을 확보했다.
  • 시뮬레이션 성능은 설계의 활성도 요인에 영향을 받지 않으며, 일부 단일 스레드 시뮬레이터(예: ESSENT)처럼 저활성 워크로드에 민감하지 않다.
  • 시스템은 하루에 여러 개의 장시간 시뮬레이션을 수행할 수 있게 되어, 기존의 시뮬레이션 방식(주당 몇 번의 시뮬레이션)에 비해 설계자 생산성을 크게 향상시켰다.
Figure 2. The static BSP execution model. Each core performs a local computation and then sends its result to the cores that need it for the next computation phase. Cores wait (with compiler-inserted NOp s) until all communication completes before starting new computation.
Figure 2. The static BSP execution model. Each core performs a local computation and then sends its result to the cores that need it for the next computation phase. Cores wait (with compiler-inserted NOp s) until all communication completes before starting new computation.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.