Code Monkey home page Code Monkey logo

pygears's People

Contributors

aleksaknezevic24 avatar andrea-e avatar bogdanvuk avatar damjanrak avatar risto97 avatar ssredojevic avatar stefansredojevic 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pygears's Issues

Verilog wire instead of reg output interface for continuous assignment

Modules such as ccat.v, cast_dout.v, sieve.v are using continous assignment on output reg signals. eg.

module abc( output reg dout_valid);   // should be output wire
    assign dout_valid = 10;
endmodule

Yosys reports warning:

Warning: reg '\dout_s' is assigned in a continuous assignment at ...

Vivado reports error:

[Synth 8-1852] concurrent assignment to a non-net dout_s is not permitted ["..."]

Data_dly gear not compiling

https://github.com/Risto97/pygears_issues/blob/master/data_dly/run_test.py
Verilator fails to compile data_dly gear because of missing dreg.sv.

I see 3 ways for resolving this.
-Append dreg verilog module in data_dly.sv file (simplest).

-Generate dreg gear modules in loop like in data_dly2(), this is not optimal because of multiple dreg.sv files generated. Also python fails with recursion error for more than 1000 instances (maybe a seperate issue).

-Try implement it in hls.

installation error: unauthenticaed git protocol on port 9418 is no longer supported

pygears-tools-install pyenv python pygears fails
cat ~/.pygears/tools/pygears/_install/pip.log

Collecting git+git://github.com/bogdanvuk/pygears.git
  Cloning git://github.com/bogdanvuk/pygears.git to /tmp/pip-req-build-fnq_s69e
  Running command git clone -q git://github.com/bogdanvuk/pygears.git /tmp/pip-req-build-fnq_s69e
  fatal: remote error:
    The unauthenticated git protocol on port 9418 is no longer supported.
  Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
ERROR: Command errored out with exit status 128: git clone -q git://github.com/bogdanvuk/pygears.git /tmp/pip-req-build-fnq_s69e Check the logs for full command output.

broken urls in README

I'm just getting started with pygears. Noticed that some links in the README are broken.

images/echo.png
images/echo_plot.png
images/echo_vcd.png

"rom" gear with zero latency not available

Current implementation of "rom" gear has a fixed 1 cycle delay latency support.

pygears > pygears > lib > rom.py

An improvement would be defining a configurable parameter which could select '0' cycle delay rom implementation

Debug logging multiple issues in cosim mode

When running cosim simulation and enabling pytest debugging messages pygears has multiple issues

  • To reproduce:
  • have the cosim enabled
  • run pytest with "--log-cli-level=DEBUG" option
  • issues
  1. libs "astpretty" and "networkx" not installed by default by pygears -> as a workaround should be installed manually
  2. the simulation blocks and never finishes

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.