Code Monkey home page Code Monkey logo

lsc's Introduction

Libre Silicon Compiler

Dependencies

Build dependencies

Installation

stack install

GLPK optimizations

stack install --flag=lsc:glpk

Use the GLPK (GNU Linear Programming Kit) as backend to integer programs.

GLPK optimizations are necessary for:

  • Cell flipping

Custom setup

For any custom build (e. g. cabal-install) you will need at least GHC version 8.6.3. lsc-cabal is a fallback build system based on cabal and git submodules but may lack behind in commits.

Usage

Print usage

lsc -h

Create a detailed placement from replace

replace < gcd_nontd_test.tcl
lsc -dp -llibrary/nangate45/NangateOpenCellLibrary.lef gcd_nan45_nontd.def -odef > placed.def

Create graphics from def file

lsc -l sample/osu035.lef --output=svg sample/map9v3.def > result.svg

Set number of capabilities

lsc +RTS -N8 -RTS

Documentation

The latest haddock documentation is available on github pages.

Compile documentation from source

stack exec -- lsc-doc

Stacktraces

stack build --profile && stack exec --profile -- lsc +RTS -xc -RTS

Profiling

stack build --profile && stack exec --profile -- lsc +RTS -p -hc -RTS

Debug build

stack build --flag=lsc:debug && stack exec -- lsc

Tests

stack test

Enable concurrency tests

Pass the argument -j4 for enabling concurrency tests with 4 jobs to run simultaneously.

stack test --test-arguments -j4

Licensing

This program is available as open source under the terms of the GPL-3.0-or-later. However, some elements are being licensed under CC0-1.0. For accurate information, please check individual files.

References

Annotations:

  • ๐Ÿฆ… The referenced work has fundamentally inspired the implemented algorithms in the namespace
  • ๐Ÿณ The referenced work and its proposed algorithms have been fully incorporated in the namespace
  • ๐Ÿฏ The referenced work is soundly applied and the implementation has evolved from the proposed algorithms

LSC.CellFlipping

  • ๐Ÿณ Boros, Hammer, Minoux, Rader (1999): Optimal cell flipping to minimize channel density in VLSI design and pseudo-Boolean optimzation doi:10.1016/S0166-218X(98)00114-0

LSC.Deque

LSC.FM

LSC.FastDP

LSC.GlobalRouting

LSC.Legalize

LSC.Polygon

LSC.SegmentTree

  • ๐Ÿฆ… Bentley (1977): Solutions to Klee's rectangle problems, Unpublished manuscript

LSC.SuffixTree

  • ๐Ÿณ Becher, Deymonnaz, Heiber (2013): Efficient repeat finding via suffix arrays arXiv:1304.0528

LSC.UnionFind

To do

lsc's People

Contributors

lnceballosz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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