Custard - a customisable threaded fpga soft processor and tools

Authors:
  • RDR. Dimond
    R. Dimond
  • OMO. Mencer
    O. Mencer
  • WLW. Luk
    W. Luk

Abstract
We propose CUSTARD | CUStomisable Threaded AR- chitecture | a soft processor design space that combines support for multiple hardware threads and automatically generated custom instruc- tions. Multiple threads incur low additional hardware cost and allow ne-grained concurrency without multiple processor cores or software overhead. Custom instructions, generated for a specic application, ac- celerate frequently performed computations by implementing them as dedicated hardware. In this paper we present a exible processor and compiler generation system, FPGA implementations of CUSTARD and performance/area results for media and cryptography benchmarks. This paper introduces the Customisable Multi-threaded Processor: CUSTARD. CUSTARD is a parameterisable processor that combines support for multiple hardware threads and automatic instruction set customisation. We propose the customisable threaded architecture as an FPGA soft processor for System-on-a- Programmable-Chip (SOPC) applications with high performance requirements. Processor implementations are supported by our optimising C compiler that automatically generates custom instructions from C applications. We generate custom instructions by nding frequently occurring segments of computation that can be evaluated using the same hardware datapath. This paper presents four main achievements: 1. CUSTARD, a customisable multi-threaded soft processor with parameteri- sations including number of threads, threading type, datapath bitwidths and custom instructions. 2. A C compiler that targets CUSTARD and automatically generates custom instructions. 3. A methodology to customise a multi-threaded processor for an application. 4. FPGA implementations of customised processors with area and performance results for v e media and cryptography benchmarks. Soft processors | instruction processors implemented within the recong- urable fabric of an FPGA | provide control and data processing functions for a recongurable system. Soft processors provide three key advantages over a fully application specic datapath/state machine: Firstly, the capability to han- dle large applications. Secondly, a software design o w for rapid implementation