Coder Social home page Coder Social logo

hilotof's Introduction

HiLoTOF -- Hardware-in-the-Loop Test framework for Open FPGAs

This is a project to develop a fully automated, hardware-in-the-loop, framework for testing open source FPGA flows. Its first target is the Yosys, nextpnr and Trellis flow for Lattice ECP5 FPGAs.

At the moment, the framework wraps a "DUT" Verilog module providing 32-bit input and output over a UART. 32-bit words are sent and received over the UART hex-encoded and terminated with \r\n. Sending "R" will reset the DUT. The state machine for this is implemented in rtl/framework.v and the wrapper for the ECP5 in ecp5/common/wrapper.v.

Python scripts have a few library functions (to be extended) to send, receive and check data over the UART.

For a simple implementation of a test, see ecp5/tests/001-loop.

To run all ECP5 tests, run cd ecp5 && ./all.sh. build.sh <test> performs synthesis, place-and-route and SVF generation for a given test inside build/<test>. run.sh <test> will then load that test onto the target and run the checker Python script.

This is a work-in-progress. Expect breaking changes!

hilotof's People

Contributors

gatecat avatar

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.