GithubHelp home page GithubHelp logo

hst10 / pylog Goto Github PK

View Code? Open in Web Editor NEW
59.0 59.0 11.0 21.29 MB

PyLog: An Algorithm-Centric FPGA Programming and Synthesis Flow

Python 51.37% C++ 35.42% Makefile 0.12% Shell 0.11% HTML 1.02% Tcl 0.03% JavaScript 0.48% CSS 0.14% C 4.18% Jinja 7.12%

pylog's People

Contributors

hst10 avatar jeffmy05 avatar jeonghm9764 avatar k-wu avatar yuanm2 avatar

Stargazers

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

pylog's Issues

Merge Declaration to Dominator [Not prioritized]

Code in python as follows

                if (len>4):
                    limit=3
                elif (len>2):
                    limit=2
                elif (len==2):
                    limit=1
                else:
                    limit=0

generates

if (len > 4)
      {
        int limit = 3;
      }
      else
      {
        if (len > 2)
        {
          limit = 2;
        }
        else
        {
          if (len == 2)
          {
            limit = 1;
          }
          else
          {
            limit = 0;
          }

        }

      }

in C. Should be

int limit 
if (len > 4)
      {
        limit = 3;
      }
      else
      {
        if (len > 2)
        {
          limit = 2;
        }
        else
        {
          if (len == 2)
          {
            limit = 1;
          }
          else
          {
            limit = 0;
          }

        }

      }

Future code clean up TODOs:

This issue is supposed to be an aggregate list of the TODOs in code clean up efforts (not prioritized at this moment but we might want to work on this some time in the future). In the meantime, please feel free to reply to this thread (if you can't modify it) to add items you deem necessary.

  1. Separate path and other environment variables to an individual configuration file. Developers are expected to not commit it when they make modification to it during local development.

    • including the TEMPLATE_DIR variable in sysgen.py
  2. Add .gitignore

  3. Add a style linter configuration file into the project to govern the style automated check.

    • limit all lines in code to a maximum of 79 characters, as suggested by PEP 8.
  4. There seem to be redundant new line after every for loop in the generated C code. Remove them in the compiler logic if there are.

[vitis++] enable multi-kernel instantiation

PYNQ Alveo board

Hi @hst10 , may i know ur pylot support one tranied NN model from pytorch to hls code process for U200 board? if yes, how to set up this env. thanks

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.