GithubHelp home page GithubHelp logo

eloazk / netlist_generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daeyeon22/artificial_netlist_generator

0.0 0.0 0.0 3.9 MB

Netlist Generator

License: GNU General Public License v3.0

C++ 79.68% Tcl 8.17% Verilog 0.66% CMake 7.64% SWIG 3.85%

netlist_generator's Introduction

Netlist Generator

Introduction

The structural characteristics of a place and route (P&R) benchmark vary widly depending on the logic and synthesis method with target technologies. The structural characteristics affect the solution space of CAD algorithms (e.g., partitioning, placement, routing, etc), so insufficient number of P&R benchmarks may lead to the poor generalizability for unseen circuits.

Research communities have tried to publish open-source benchmarks to support CAD research in recent decades, but they are mapped to a specific technology node or written in a data format that is not supported by commercial tools. Furthermore, to protect the intellectual property of the developers, the data must be anonymized (i.e., technical details of the circuits).

Researchers somtimes create several new versions of circuits by combining multiple modules or modifying functionality at the RTL level, but these modifications cannot provide a large variation in circuit characteristics compared to the original circuit and consume a lot of human resources for data scalability.

One of the solutions to mitigate the lack of circuit benchmarks is to generate artificial circuits that represent realistic circuit characteristics. Artificial circuits can be generated using specific rules and programs so that it is cost-less compared to real-world data in terms of data scalability. This is a strong motivartion why we developed this program called 'netlist generator' (NG).

ANG can create any artificial gate-level netlist from user-specified parameters representing the topological characteristics of the circuit. NG takes six topological parameters as inputs: (1) number of instances, (2) number of primary input and outputs, (3) average net degree (=average number of fanouts), (4) average size of net bounding box (=average hpwl after placement), (5) average depth of timing paths (= average depth of leaf nodes), (6) ratio of sequential logic gates.

Usage

./openroad
read_lef <lef path>
artnetgen_create_spec -num_insts <number of instances>
                      -num_primary_ios <number of primary input and output>
                      -comb_ratio <ratio of combinational gates>
                      -avg_bbox <average size of net bounding box>
                      -avg_net_degrere <average net degree>
                      -avg_topo_order <average depth of timing paths>
                      -cell_list <cell list to use>
                      -out_file <spec path>
          

generate_artificial_netlist -top_module <top module name>
                            -spec_file <spec path>
                            
artnetgen_write_verilog -out_file <verilog path>
artnetgen_write_sdc -out_file <sdc path>

How to build

git clone --recursive https://github.com/daeyeon22/artificial_netlist_generator.git

cd artificial_netlist_generator

mkdir build & cd build & cmake ..

make -j

Features

Construction of Realistic Place-and-route Benchmarks for Machine Learning Applications (link) This code is based on OpenROAD project (link)

Submodule List

Authors

netlist_generator's People

Contributors

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