Git Product home page Git Product logo

backend's Introduction

Raptor's Integration for OpenFPGA

Adds features like a Verilog reader to VPR, a Pin assignment checker, encryption of Architecture file...

Build Compatibility

Version: see VERSION.md

Compilation

Please ensure checkout all the submodules using

make checkout

Then, you can compile the codebase using

make release

How to update .diff patches

Suppose you want to update the patch for base/SetupVPR.cpp.

1. Type 'make compile'. It will apply the existing patch include/base_fix/DIFF/SetupVPR_cpp.diff
OpenFPGA/vtr-verilog-to-routing/vpr/src/base/SetupVPR.cpp will be modified.

2. Temporarily disable patching this file in CMakeLists.txt:
#apply_patch(${DIFF_FILE}  ${TARGET_DIR}  "base/SetupVPR.cpp")

3. Go to VPR source code and edit SetupVPR.cpp - add your new tweaks.
cd OpenFPGA/vtr-verilog-to-routing/vpr/src/base; <your_editor> SetupVPR.cpp

4. Compile and test VPR.

5. Generate new diff by 'git diff SetupVPR.cpp > SetupVPR_cpp.diff'

6. Copy or move the new diff to include/base_fix/DIFF/SetupVPR_cpp.diff

7. Re-enable patch application in CMakeLists.txt.
This can be done by reverting this file by 'git checkout CMakeLists.txt'

8. Check in the updated SetupVPR_cpp.diff
git add include/base_fix/DIFF/SetupVPR_cpp.diff
git commit
git push

backend's People

Contributors

alain-rs avatar alaindargelas avatar aram-rs avatar behnam-rs avatar behzadmehmood avatar behzadmehmood-rs avatar chungshien avatar dependabot[bot] avatar ghavamib avatar github-actions[bot] avatar manadher avatar manadherrs avatar nadeemyaseen avatar nadeemyaseen-rs avatar ravic-rs avatar raza-jafari-rs avatar rs-mahdi avatar serge-dsa avatar serge-rs avatar tangxifan avatar umariqbal-rs avatar yitian4debug avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

backend's Issues

timing_flow analytic option always errors out.

Hi,

I am trying to use the Raptor tool and am interested in turning on the "timing_flow analytic" option. According to the document, it is supposed to do an analytical placement (as an initial placement) followed by a simulated annealing process (as a refinement step).

Whenever I add this option to the .tcl file, raptor errors in the VPR stage, telling me there is no command line option called "enable_cascade_placer". Then, I examined the code in the original PR called "Adding analytical-based initial placer" and saw this option was added to multiple files:

  1. include/read_verilog/OpenFPGA/vpr/src/base/SetupVPR.cpp
  2. include/read_verilog/OpenFPGA/vpr/src/base/read_options.cpp
  3. include/read_verilog/OpenFPGA/vpr/src/base/read_options.h\
  4. include/read_verilog/OpenFPGA/vpr/src/base/vpr_types.h

However, none of the above files exist in the master branch, which might be causing the issue.
Can you please help me to figure out how to use this option? I really appreciate your time and response in advance.

Tcl lib is missing when installing dependencies in CI flow

Describe the bug
A clear and concise description of what the bug is.

  • Continous Integration

To Reproduce
Steps to reproduce the behavior:

  1. Clone repository and checkout commit id: 94966a5
  2. Execute a test case or your own example: https://github.com/RapidSilicon/OpenFPGA_RS2/runs/6750446190?check_suite_focus=true
  3. See error

Expected behavior
Should have no such errors.
Recommend to double check the package name for tcllib-dev in Ubuntu-latest in Github Machines (Currently it is taken from the package list for Ubuntu 18.04)

Screenshots

[ 91%] [FLEX][VerilogLex] Building scanner with flex 2.6.4
[ 91%] Building CXX object OpenSTA/CMakeFiles/OpenSTA.dir/app/StaMain.cc.o
/home/runner/work/OpenFPGA_RS2/OpenFPGA_RS2/OpenSTA/app/StaMain.cc:19:10: fatal error: tcl.h: No such file or directory
   19 | #include <tcl.h>
      |          ^~~~~~~
compilation terminated.
make[3]: *** [OpenSTA/CMakeFiles/OpenSTA.dir/build.make:155: OpenSTA/CMakeFiles/OpenSTA.dir/app/StaMain.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:2207: OpenSTA/CMakeFiles/OpenSTA.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2
make: *** [Makefile:38: compile] Error 2

Enviornment (please complete the following information):

  • OS:
  • Tool:
  • Version:

Additional context
Add any other context about the problem here.

Enable auto-merge on PRs for dependabot

Is your feature request related to a problem? Please describe.
Currently, the PRs created by dependabot still require code owners's review and approval.
However, this may eat a lot of time from engineers, since this project:

  • integrates OpenFPGA and OpenSTA, check the correctness of the integration
  • check compilation compatibility for the submodules. Correctness of OpenFPGA and OpenSTA should be already checked in their own regression tests

Describe the solution you'd like

  • I have already enable auto-merge and remove any protection on main branch in github repo settings
  • See how to enable this feature in the dependabot.yml

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.