Code Monkey home page Code Monkey logo

litecan's People

Contributors

andrewd avatar danielkucera avatar enjoy-digital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

litecan's Issues

Unit can_top_level does not have a generic named sup_filtV

Going to vhdl side to elaborate module can_top_level
ERROR:HDLCompiler:852 - "/home/danman/.local/lib/python3.9/site-packages/ctucanfd/ctucanfd_ip_core/src/can_top_level.vhd" Line 103: Unit can_top_level does not have a generic named sup_filtV

How to use this

Hi @AndrewD ,
Thank you very much for this project, I would like to use this module.

Is it working?
Do you have some example implementation?

Thank you.

Simple LiteX app using CAN

Thank you for litecan. I can reproduce on DE2-115 board successfully.
But I am also interested in running app using CAN on LiteX.
Could you provide some simple app (C code) running on LiteX that use CAN? Thanks!

Writing to status register fails

Hi,

do you happen to know why any write to STATUS register fails?

litex> mem_write 0x81000006 0x0200

I execute the above and bios freezes. Maybe the write cannot complete? Writing to MODE (0x4) works okay:

litex> mem_write 0x81000004 0x0000

litex> mem_read 0x81000004 2      
Memory dump:
0x81000004  00 00                                            ..              

litex> mem_write 0x81000004 0x0001

litex> mem_read 0x81000004 2      
Memory dump:
0x81000004  10 02                                            ..              

Fix package to install correctly

Hello,
I've tried installing package with pip:

$ pip3 install https://github.com/AndrewD/litecan/archive/refs/heads/master.zip
Collecting https://github.com/AndrewD/litecan/archive/refs/heads/master.zip
  WARNING: Keyring is skipped due to an exception: Failed to unlock the keyring!
  Downloading https://github.com/AndrewD/litecan/archive/refs/heads/master.zip
     \ 15 kB 760 kB/s
Building wheels for collected packages: litecan
  Building wheel for litecan (setup.py) ... done
  Created wheel for litecan: filename=litecan-0.0.0-py3-none-any.whl size=989 sha256=01546709bfe7b2ddf93752db4ab1eeebfb7253582bbcf0c5d1072fe0f027ca21
  Stored in directory: /tmp/pip-ephem-wheel-cache-rehnmrqx/wheels/48/3e/43/9a9ad7304876e1fc7b41bb1d40e3d5052a1a2de85b797381fc
Successfully built litecan
Installing collected packages: litecan
Successfully installed litecan-0.0.0

but the import doesn't work:

$ python
Python 3.9.7 (default, Sep 10 2021, 14:59:43) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import litecan
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'litecan'
>>> 

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.