question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Overhaul of Driver + Monitor for Avalon-ST interface (w/ and w/o packets)

See original GitHub issue

I use cocotb extensively at work, and have expanded on the classes AvalonST(BusMonitor), AvalonSTPkts(BusMonitor), AvalonST(ValidatedBusDriver), and AvalonSTPkts(ValidatedBusDriver) to (almost!) fully implement and update the parameterizability of the Avalon-ST interface for use with our internal TBs. The most recent spec is here (see ch 5); the current cocotb implementation is outdated. For the sake of being explicit, refer to Table 18–I’ll be adding the logic associated with every property other than associatedClock, associatedReset, and beatsPerCycle for both packetized and non-packetized Avalon-ST interfaces. I will open a PR here once things are complete on my end 😃

JSYK, I’m making use of the transitions package to represent each interface as an FSM–I hope adding this dependency is no issue!

In reference to issue #864, I hope that this motivates a decision to retain the Avalon interface modules as core functionality–it really makes cocotb that much more accessible!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bluecmdcommented, Sep 8, 2020

@nredd Just a voice of support from me, an internet stranger. The Avalon drivers of cocotb are great and saves me so much headache and time. Improving them would be wonderful.

A positive thing about splitting to extensions is that that potentially means you can use extra libraries in those extensions, as it wouldn’t polute the core framework. I’m not a maintainer, but if you’d still like to use your transitions library it might be an easier sell if it’s an optional add-on to cocotb.

1reaction
eric-wiesercommented, Apr 22, 2020

@nredd: I think the easiest thing for now would be for you to make nredd/cocotbext-interfaces or whatever you deem best (https://github.com/nredd/cocotbext-interfaces) - and then when we get around to it, we can pull a bunch of repos under the cocotb namespace all at once, and merge / split them as makes sense.

We can add a link to nredd/cocotbext-interfaces from our wiki page which lists extensions

Read more comments on GitHub >

github_iconTop Results From Across the Web

7.3. RX MAC Avalon ST Aligned Client Interface - Intel
The figure above shows how to receive data using the RX MAC Avalon ST client interface. The interface complies with the Avalon® streaming ......
Read more >
Video and Image Processing Suite User Guide
Describes the features, signals, and parameters of the video and image processing IPs. The IPs range from simple building block functions to sophisticated ......
Read more >
40 Gigabit Ethernet IP Solution - Mantaro Networks
The 40Gbps Ethernet IP solution offers a fully integrated. IEEE802.3-2015 compliant package for NIC (Network. Interface Card) and Ethernet ...
Read more >
2017 Lexus ES 350 - St. Albans WV area Toyota dealer ...
Mileage: 64652 · Body Style: 4D Sedan · Transmission: 6-Speed Automatic Electronic with Overdrive · Ext. Color: Black Granite Metallic · VIN: 1G11B5SA1DF134884....
Read more >
2022 Toyota Avalon for Sale in Lawrence, KS
Visit Crown Toyota of Lawrence to see the 2022 Toyota Avalon for sale in Lawrence, KS, near Olathe, KS, up close and personal....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found