SOFF SNU OpenCL Framework for FPGAs

Overview

SOFF is an open-source framework that enables OpenCL applications with data-parallel kernels to run on FPGAs. It consists of three components: an OpenCL-C-to-Verilog compiler (soff-compiler), a board support package (soff-hardware-*), and a runtime system (soff-runtime).

SOFF automatically synthesizes a datapath to execute many OpenCL kernel threads in a pipelined manner. It also synthesizes an efficient memory subsystem for the datapath based on the characteristics of OpenCL kernels. Unlike previous high-level synthesis techniques, SOFF adopts a formal way to handle variable-latency instructions, complex control flows, OpenCL barriers, and atomic operations that appear in real-world OpenCL kernels. SOFF is the first OpenCL framework that correctly compiles all applications in the SPEC ACCEL benchmark suite.

Publications

Please use the citation below to reference SOFF.

  • [ISCA] Gangwon Jo, Heehoon Kim, Jeesoo Lee, and Jaejin Lee. SOFF: An OpenCL High-Level Synthesis Framework for FPGAs, to appear in ISCA ’20: Proceedings of the 47th Annual International Symposium on Computer Architecture, Valencia, Spain, June 2020.

    Download

    Every component of SOFF can be downloaded from GitHub.

    Manual

    If you would like to download the SOFF user manual, please email us.

    Contributors

    Gangwon Jo, Heehoon Kim, Jeesoo Lee, and Jaejin Lee

    Contact and Bug Report

    License

    Copyright (c) 2020 Seoul National University.                            
        All rights reserved.
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions
        are met:
          1. Redistributions of source code must retain the above copyright
             notice, this list of conditions and the following disclaimer.
          2. Redistributions in binary form must reproduce the above copyright
             notice, this list of conditions and the following disclaimer in the
             documentation and/or other materials provided with the distribution.
          3. Neither the name of Seoul National University nor the names of its
             contributors may be used to endorse or promote products derived
             from this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY SEOUL NATIONAL UNIVERSITY "AS IS" AND ANY
        EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
        WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL SEOUL NATIONAL UNIVERSITY BE LIABLE FOR ANY
        DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
        OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
        HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
        STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
        ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
        POSSIBILITY OF SUCH DAMAGE.
        
        Contact information:
          Center for Manycore Programming
          Department of Computer Science and Engineering
          Seoul National University, Seoul 08826, Korea
          https://thunder.snu.ac.kr
        
        Contributors:
          Gangwon Jo, Heehoon Kim, Jeesoo Lee, and Jaejin Lee