Giter VIP home page Giter VIP logo

vlsi's Introduction

Updated Tasks

Ashish: Write LUT mapping algo using maxflow/min cut Sagun: Write LUT mapping algo using bin packing approach Shashank: LUT Evaluation of Subgraph and DAG Evaluation Shardul: Generate graph for a shifter

Everyone for each DAG Adjacency Matrix, also output topologial order and primary input nodes.

VLSI

Created Git Create methods in python to generate graph (Adjacency Matrix) for:

  1. Decoder - Shashank
  2. Encoder - Sagun
  3. Adder - Ashish #4. Shardul (chose some for yourself)

Adjacecny Matrix [M] conventions: for edge from node i to j:

#Reccomended: Use this as dictionary, will be helpful later Just use M[i][j] = _GATE['or'] instead of M[i][j] = 6

  1. M[i][j] = -1 invalid (no) edge
  2. M[i][j] = 0 constant 0 at node j
  3. M[i][j] = 1 constant 1 at node j
  4. M[i][j] = 2 and gate at node j
  5. M[i][j] = 3 nand gate at node j
  6. M[i][j] = 4 or gate at node j
  7. M[i][j] = 5 nor gate at node j
  8. M[i][j] = 6 xor gate at node j
  9. M[i][j] = 7 xnor gate at node j

Dictionary

_GATE = {'0':0, '1':1, 'and':2, 'nand':3, 'or':4, 'nor':5, 'xor':6, 'xnor':7}

NOTE:

  1. buffer is same as or/and/xor gate with one input
  2. inverter is same as nor/nand/xnor gate with one input

Suggestion - Please put all your files you made in some folder named after the topic you've picked up and send the pull request. Also, keep the source code as modular (function definitions instead of plain source code).

vlsi's People

Contributors

albu5 avatar ssk1328 avatar shardul-jade avatar famguy avatar

Watchers

 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.