by Luca Carloni and Davide Giri
At: FOSDEM 2020 https://video.fosdem.org/2020/K.3.401/riscv_openesp.webm
ESP is an open-source research platform for RISC-V systems-on-chip that integrate many hardware accelerators.❮br/❯ ESP provides a vertically integrated design flow from software development and hardware integration to full-system prototyping on FPGA.
For application developers, ESP offers domain-specific automated solutions to synthesize new accelerators for their software and map it onto the heterogeneous SoC architecture.
For hardware engineers, ESP offers automated solutions to integrate their accelerator designs into the complete SoC.❮br/❯ The participants in this FOSDEM20 event will learn how to use ESP from the viewpoints of both application developers and hardware engineers by following a series of short hands-on tutorials embedded in the lecture. Conceived as a heterogeneous integration platform and tested through years of teaching at Columbia University, ESP is intrinsically suited to foster collaborative engineering of RISC-V based SoCs across the open-source community. ❮ul❯ ❮li❯What is ESP?❮/li❯ ❮/ul❯
ESP is an open-source research platform to design and program heterogeneous systems-on-chip (SoCs).
A heterogeneous SoC combines multiple general-purpose processor cores and many specialized hardware accelerators.
❮ul❯ ❮li❯What does ESP offer?❮/li❯ ❮/ul❯
ESP provides automated solutions to (a) synthesize new accelerators, (b) integrate them with RISC-V processors and other third party accelerators into a complete SoC, (c) rapidly prototype the SoC on an FPGA board, and (d) run software applications that take advantage of these accelerators. ESP contributes to the open-source movement by supporting the realization of more scalable architectures for SoCs that integrate more heterogeneous components, thanks to a more flexible design methodology that accommodates different specification languages and design flows.
❮ul❯ ❮li❯What is an example of an SoC prototype realized with ESP?❮/li❯ ❮/ul❯
With ESP's automation capabilities, it is easy to realize FPGA-based prototypes of complete SoCs.
For example, an SoC may feature the Ariane RISC-V processor core booting Linux, a multi-plane network-on-chip supporting a partitioned memory hierarchy with multiple DRAM controllers, and tens of loosely-coupled accelerators that execute coarse-grained tasks exchanging large amount of data with DRAM through direct-memory access (DMA).
These accelerators can be third-party open-source hardware components that “speak” the AXI protocol (e.g. the NVIDIA NVDLA accelerator for deep learning) or new accelerators that can be synthesized with different design flows from specifications written in different languages, including: C with Xilinx Vivado HLS, SystemC with Cadence Stratus HLS, Keras TensorFlow and PyTorch with hls4ml, Chisel, SystemVerilog, Verilog, and VHDL.
❮ul❯ ❮li❯Why is ESP relevant now?❮/li❯ ❮/ul❯
Information technology has entered the age of heterogeneous computing.
Across a variety of application domains, computing systems rely on highly heterogeneous architectures that combine multiple general-purpose processors with specialized hardware accelerators.
The complexity of these systems, however, threatens to widen the gap between the capabilities provided by semiconductor technologies and the productivity of computer engineers.
ESP tackles this challenge by raising the level of abstraction in the design process, simplifying the domain-specific programming of heterogeneous architectures, and leveraging the potential of the emerging open-source hardware movement.
❮ul❯ ❮li❯What are some key ingredients of the ESP approach?❮/li❯ ❮/ul❯
Building on years of research on communication-based system-level design at Columbia University, ESP combines an architecture and a methodology.
The flexible tile-based architecture simplifies the integration of heterogeneous components by balancing regularity and specialization.
The companion methodology raises the level of abstraction to system-level design, thus promoting closer collaboration among software programmers and hardware engineers.
Through the automatic generation of device drivers from pre-designed templates, ESP simplifies the invocation of accelerators from user-level applications executing on top of Linux.
Through the automatic generation of a multi-plane network-on-chip from a parameterized model, the ESP architecture can scale to accommodate many processors, tens of accelerators, and a distributed memory hierarchy.
A set of ESP Platform Services provides pre-validated solutions for accelerators configuration, memory management, sharing of system resources, and dynamic frequency scaling, among others.
❮ul❯ ❮li❯How does ESP differ from other RISC-V based platforms?❮/li❯ ❮/ul❯
To date, the majority of the open-source hardware (OSH) efforts related to RISC-V have focused on the development of processor cores that implement the RISC-…