Replies: 4 comments
-
The early simulation support wasn't maintained, when OpenNIC shell underwent substantial refactoring for version 1.0. @108anup, can you maybe please say a bit about the testbench that you've created for simulating OpenNIC shell? |
Beta Was this translation helpful? Give feedback.
-
As a quick answer, I used modelsim and cocotb. cocotb (https://www.cocotb.org/) enables cosimulation of RTL and a test bench written in python (e.g., https://github.com/alexforencich/verilog-axis/blob/master/tb/axis_switch/test_axis_switch.py). For the packet format, all the packet contents are in the axis_tdata signal in the AXI stream interface. So one can write a test bench similar to the verilog-axis test bench shown above. I can open a pull request with a simple example for reference. |
Beta Was this translation helpful? Give feedback.
-
Hi Chris and Anup, I am trying to prepare some sort of packet parser in p2p_250mhz as shown below, packets form host ====>|p2p_250mhz|=====> pakets to adap I could not find how Ethernet(UDP/TCP over IP) is carried on the s_axis_tdata/tkeep/tlast/size/src/dst stream. I believe that the host and adap side model can utilize cocotb for further applications. Thanks. |
Beta Was this translation helpful? Give feedback.
-
See #30 for cocotb+modelsim setup. It shows how a packet might be sent. All packet contents are carried in axis_tdata. All other signals are control signals. Regarding byte order: |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to figure out how OpenNIC works using Alveo U280 and I could not get it work yet.
So, I'm looking for simulation environment for 'p2p_250mhz'.
The reference guide says there was 'simulating OpenNIC_shell' for prior to 1.0.
I believe that hardware developer needs an environment to check his/her block in the context of OpenNIC as simple as possible,
where his/her block will be 'p2p_250mhz' or 'p2p_322mhz'.
So, is there behavioral model for QDMA subsystem / CMAC subsystem?
If there is not, is it possible to get more details regarding packet format of AXI stream at the boundary of 'p2p_250mhz'.
Thanks to OpenNIC team for your contributions.
Beta Was this translation helpful? Give feedback.
All reactions