GithubHelp home page GithubHelp logo

vlsi-design's Introduction

VLSI Design

Combinatorial Decision Making and Optimization Project Work

Introduction

VLSI (Very Large Scale Integration) refers to the trend of integrating circuits into silicon chips. The modern trend of shrinking transistor sizes, allowing engineers to fit more and more transistors into the same area of silicon, has pushed the integration of more and more functions of cellphone circuitry into a single silicon die (i.e. plate). This enabled the modern cellphone to mature into a powerful tool that shrank from the size of a large brick-sized unit to a device small enough to comfortably carry in a pocket or purse, with a video camera, touchscreen, and other advanced features.

Given a fixed-width plate and a list of rectangular circuits, the problem consists in deciding how to place the circuits on the plate in order to minimize the length of the final device.

The combinatorial optimization problem is modeled and solved using two approaches:

  • Constraint Programming (CP) using Minizinc
  • Satisfiability Modulo Theories (SMT) using Z3Py

Requirements

It is required to have installed the latest versions of Python and MiniZinc IDE, as well as the following libraries:

  • minizinc
  • z3-solver
  • matplotlib
  • numpy

Instructions

To run the CP (or SMT) model, go into the relative directory CP/src (or SMT/src) and execute the python solver file with the command python3 solveCP.py. This requires that all the instances are in the .dzn format; to convert the instances from .txt to .dzn, run the python script convert_to_dzn.py in the util folder.

To visualize the solutions, it is necessary to move into the util directory and run the python script plot_solution.py with the following command: python3 plot_solution.py -f <output file ins-x-out.txt>.

vlsi-design's People

Contributors

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