GithubHelp home page GithubHelp logo

martinkiefer / scotch Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 3.0 3.04 MB

Scotch: Generating FPGA-Accelerators for Sketching Algorithms

License: Mozilla Public License 2.0

Python 4.36% ANTLR 0.07% Shell 0.76% Cuda 1.04% C++ 0.72% VHDL 3.32% Verilog 22.40% V 64.22% SystemVerilog 2.16% Tcl 0.53% HTML 0.43%
sketching-algorithms vhdl fpga sketches

scotch's Introduction

Scotch

Scotch is a framework for generating optimized FPGA-accelerators for sketching algorithms.

It provides three core features:

  • ScotchDSL: A domain specific language + programming models to describe a variety of sketching algorithms
  • Code Generators: ScotchDSL specifications are automatically translated into a VHDL architecture containing all necessary components to perform sketching.
  • Auto-Tune: An automated tuning algorithms optimizes the size of the sketch summary with respect to provided constraints and resources on the FPGA

Scotch has a corresponding publication in PVLDB:

Martin Kiefer, Ilias Poulakis, Sebastian Breß, and Volker Markl. Scotch: Generating FPGA-Accelerators for Sketching at Line Rate. PVLDB, 14(3), 2021.

Requirements

  • A recent Linux operating system. For the code generator in isolation, OSX will do either.
  • Python 3.6+ is required. We used Python 3.6.
  • The following Python modules are required (used version in brackets): antlr4-python3-runtime (4.7.2), numpy (1.170), pandas (0.25.0).
  • The ANTLR4 parser generator is required to generate the ScotchDSL parser (4.7.2). A setup script is provided for your convenience that downloads the appropriate jar and generates the parser. See README in the ScotchDSL folder.
  • An FPGA toolchain is required. Intel FPGAs with Quartus Prime are supported. We tested with Quartus Prime Pro 19.3 and Quartus Prime 19.1. Thus all *10 and *V product lines should be supported. Furthermore, we support support Xilinx /Vivado. We tested with Version 2020.1.
  • CPU baselines require GCC and Boost. We used GCC 7 and Boost 1.53.
  • GPU baselines require CUDA and Boost. We used CUDA 10.2 with GCC 6 and Boost 1.53.

Project Structure

ScotchDSL: Contains all code generator files and implementations of various algorithms in ScotchDSL.

Autotune: Contains all files regarding automated tuning.

Baselines: CPU and GPU baseline implementations.

Sketches: ScotchDSL implementations of sketching algorithms.

IO-Controllers: I/O controller examples.

Util: Miscallaneous little helpers. Contains scripts for scaling experiments.

Our reproducibility/availability wiki page can help to get you started.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.