Code Monkey home page Code Monkey logo

hdl-benchmarks's Introduction

HDL Benchmarks

Verilog designs and their synthesized netlists

These are behavioral Verilog files that can serve as inputs to a logic synthesis tool to generate a corresponding netlist.

  • ISCAS'85 benchmarks: c*.v
  • ISCAS'89 benchmarks: s*.v

Our preprocessor expects a netlist written in structural Verilog and will clean up the netlist to make it easier for frameworks to read. The structural verilog can be generated with the following Yosys commands:

For gates:

read_verilog [MY_DESIGN].v
synth
abc -g simple,-MUX 
splitnets
write_verilog -noexpr [MY_DESIGN].struct.v

For 2:1 LUTs:

read_verilog [MY_DESIGN].v
synth
abc -luts 2
nlutmap -luts 0,10000000,0 (only applicable to LUTs with LBB)
splitnets
write_verilog -noexpr [MY_DESIGN].struct.v

These files are generated automatically by the preprocessor. To run our preprocessor run: cargo run --bin preprocessor --release -- --input ./netlists/c17.v

These files represent test cases for a corresponding netlist that can be useful for simulating circuits in software.

  • Inputs: filename.inputs.csv
  • Outputs: filename.outputs.csv

Trustworthy Computing Group

hdl-benchmarks's People

Contributors

cgouert avatar jimouris avatar

Stargazers

Sergey Smolov avatar lwj avatar

Watchers

 avatar  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.