Skip to content

RippleFPGA, A Simultaneous Pack-and-Place Algorithm for UltraScale FPGA

License

Notifications You must be signed in to change notification settings

cuhk-eda/ripple-fpga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 22, 2019
3577dd1 · Mar 22, 2019

History

4 Commits
Mar 22, 2019
Mar 21, 2019
Mar 22, 2019
Mar 22, 2019

Repository files navigation

RippleFPGA

RippleFPGA is a simultaneous pack-and-place algorithm for FPGA developed by the research team supervised by Prof. Evangeline F.Y. Young in The Chinese University of Hong Kong. It produces legalized placement solutions by effectively packing and placing instances from input circuits on the modern Xilinx FPGA architecture. It aims to minimize the routed wirelength and routing congestion. The placement results can be evaluated by Xilinx Vivado® Design Suite.

Feature

  • Targeted on modern commercial FPGA architecture (Xilinx UltraScale XU095)
  • Analytical placement in Upper and Lower Bound Framework
  • Optimize wirelength and routing congestion
  • Results verified by Xilinx Vivado® software
  • Support large-scale benchmark circuits

More details are in the following papers:

Quick Start

The simplest way to build and run RippleFPGA is as follows.

$ git clone https://github.com/jordanpui/ripplefpga
$ cd ripplefpga/src
$ make mode=release_mt
$ cd ../bin
$ ./placer -aux toy_example/design.aux -out toy_example.out

Building RippleFPGA

Step 1: Download the source codes. For example,

$ git clone https://github.com/jordanpui/ripplefpga

Step 2: Go to the project root and build by

$ cd ripplefpga/src
$ make mode=release_mt

Note that this will generate a folder bin under the root, which contains binaries and auxiliary files. More details are in Makefile.

Dependencies

  • g++ (version 4.8.0) or other working c++ compliers
  • Boost (version >= 1.58)

Running RippleFPGA

Toy

Go to the bin directory and run binary placer with a toy design:

$ cd bin
$ ./placer -aux toy_example/design.aux -out toy_example.out

Batch Test

Our placer is based on bookshelf format and was tested on two contest benchmarks ISPD'16 Contest and ISPD'17 Contest, which can be downloaded via Dropbox (ISPD16, ISPD17). After download the benchmarks and place them under folder BM_DIR, you can use our script run.sh:

$ cd bin
$ export BENCHMARK_PATH=BM_DIR
$ ./run all

Modules

  • src: c++ source codes
    • alg: external algorithm packages
    • cong: implemetation of congestion estimation
    • db: implementation of database
    • dp: implementation of detailed placement
    • gp: implementation of global placement
    • lg: implementation of legalization
    • lgclk: implementation of legailzation related to clock constraints
    • pack: implementation of packing
    • utils: implementation of utilizations
  • toy_example: toy example in bookshelf format

License

READ THIS LICENSE AGREEMENT CAREFULLY BEFORE USING THIS PRODUCT. BY USING THIS PRODUCT YOU INDICATE YOUR ACCEPTANCE OF THE TERMS OF THE FOLLOWING AGREEMENT. THESE TERMS APPLY TO YOU AND ANY SUBSEQUENT LICENSEE OF THIS PRODUCT.

License Agreement for RippleFPGA

Copyright (c) 2019 by The Chinese University of Hong Kong

All rights reserved

CU-DS LICENSE (adapted from the original BSD license) Redistribution of the any code, with or without modification, are permitted provided that the conditions below are met.

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Use is limited to non-commercial products only. Users who are interested in using it in commercial products must notify the author and request separate license agreement.

Neither the name nor trademark of the copyright holder or the author may be used to endorse or promote products derived from this software without specific prior written permission.

Users are entirely responsible, to the exclusion of the author, for compliance with (a) regulations set by owners or administrators of employed equipment, (b) licensing terms of any other software, and (c) local, national, and international regulations regarding use, including those regarding import, export, and use of encryption software.

THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.