Code Monkey home page Code Monkey logo

Comments (9)

multigcs avatar multigcs commented on June 12, 2024

I think the bracket issue is not in the dout part because there are no '-not' pin name's

i'm in the office now, i will check the digital io's later at home

from linuxcnc-rio.

ozzyrob avatar ozzyrob commented on June 12, 2024

Just checked you are correct about the dout.

Just cleaned up my local and pushed to my repo.

from linuxcnc-rio.

multigcs avatar multigcs commented on June 12, 2024

ok, i see the problem, grrrrr, brainf*** :p

assign tx_data = {
    header_tx[7:0], header_tx[15:8], header_tx[23:16], header_tx[31:24],
    jointFeedback0[7:0], jointFeedback0[15:8], jointFeedback0[23:16], jointFeedback0[31:24],
    jointFeedback1[7:0], jointFeedback1[15:8], jointFeedback1[23:16], jointFeedback1[31:24],
    jointFeedback2[7:0], jointFeedback2[15:8], jointFeedback2[23:16], jointFeedback2[31:24],
    jointFeedback3[7:0], jointFeedback3[15:8], jointFeedback3[23:16], jointFeedback3[31:24],
    jointFeedback4[7:0], jointFeedback4[15:8], jointFeedback4[23:16], jointFeedback4[31:24],
    processVariable0[7:0], processVariable0[15:8], processVariable0[23:16], processVariable0[31:24],
    DIN15, DIN14, DIN13, DIN12, DIN11, DIN10, DIN9, DIN8, DIN7, DIN6, DIN5, DIN4, DIN3, DIN2, DIN1, DIN0
};

first i have to reorder the DIN's in verilog

from linuxcnc-rio.

multigcs avatar multigcs commented on June 12, 2024

ok, hope i have fix it now , please can you test it ?

from linuxcnc-rio.

ozzyrob avatar ozzyrob commented on June 12, 2024

Fantastic, works like a charm. Tested with 17 inputs, ie: 3 packets.

Python is a bit exotic to me. Tho I should learn.
Just got my Olimex ICE40HK8X-EVB, as I want to keep the Lattice board for future experiments, so that will be the weekends' project.
Still waiting on the Eth to Spi board.

from linuxcnc-rio.

kzali avatar kzali commented on June 12, 2024

Not related to this topic but, I was wondering if LiteEth can be used instead of an an Eth to Spi board.

from linuxcnc-rio.

ozzyrob avatar ozzyrob commented on June 12, 2024

Doesn't LiteEth require a soft core ?

from linuxcnc-rio.

kzali avatar kzali commented on June 12, 2024

I am too new to FPGA's and the litex tools. I looked at the liteeth repository but could not determine, whether Its uses a soft core.
Hey Rob I am also in the Sydney area!

from linuxcnc-rio.

multigcs avatar multigcs commented on June 12, 2024

my verilog knowledge is rather limited,
so I wanted to keep this part as simple as possible.

lite eth probably uses a softcore for the ethernet.

but i think it's ok to use a MCU in this place and the spi interface keeps the delay quite low.

if someone can do the ethernet without softcore i would be happy about pullrequests :)

from linuxcnc-rio.

Related Issues (13)

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.