Skip to content

Simulating the project in HLS #1

@ghost

Description

@mariodruiz Hi,
I am trying to simulate the TOE on Vivado HLS and have run into few problems. I see the simulation requires at least 3 arguments; a 0 or 1 and 2 pcap files. I also can find 3 pcap files in the pcap directory. Can I use them as input pcap files? Should the output pcap file be an existing pcap file?
I, as a trial, tried using echo_replay.pcap and iperf3_fpga_as_client.pcap as input and output files respectively and got the following output on the console.

WINDOW_BITS 18	MAX_SESSIONS 64	BUFFER_SIZE 262144
POW: Error opening output file
: No such file or directory
runExperiment set 
IPERF request to establish a new connection socket 192.168.0.8:5001
IPERF2 Init timer at 11
tx_app_table  .ackd 0x301b0	.mempt 0x301b1
Error in mmap -1
Error in mmap: Bad file descriptor
Error opening the input file with name: /home/xilinx/Desktop/100G-fpga-network-stack-core/pcap (copy)/echo_replay.pcap
Setting event for retransmit event type 3	at 385
Setting event for retransmit event type 3	at 834
Setting event for retransmit event type 3	at 1411
Setting event for retransmit event type 3	at 2052
Connection could not be opened.
regSessionCount 0
WARNING: Hls::stream 'ipTxData' contains leftover data, which may result in RTL simulation hanging.
WARNING: Hls::stream 'slc_sessionIdFreeList' contains leftover data, which may result in RTL simulation hanging.
WARNING: Hls::stream 'portTable2txApp_free_port' contains leftover data, which may result in RTL simulation hanging.

Do I also need to have IPERF installed? And do I need a physical connection to the hardware?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions