Skip to content

Problems in cosimulation when using Vitis HLS #5

@ZXB-scut

Description

@ZXB-scut

Thank you for your excellent job on HLS.
I pass the c synthesis but I'm having problems with the cosimulation and the error in the console doesn't prompt any message. How can I locate the error?

...
MSE: 0.00151473
MAE: 0.0208538
INFO [HLS SIM]: The maximum depth reached by any hls::stream() instance in the design is 102168
INFO: [COSIM 212-333] Generating C post check test bench ...
INFO: [COSIM 212-12] Generating RTL test bench ...
ERROR: [COSIM 212-5] *** C/RTL co-simulation file generation failed. ***
ERROR: [COSIM 212-4] *** C/RTL co-simulation finished: FAIL ***
INFO: [COSIM 212-211] II is measurable only when transaction number is greater than 1 in RTL simulation. Otherwise, they will be marked as all NA. If user wants to calculate them, please make sure there are at least 2 transactions in RTL simulation.
INFO: [HLS 200-111] Finished Command cosim_design CPU user time: 289.78 seconds. CPU system time: 4.33 seconds. Elapsed time: 294.22 seconds; current allocated memory: 28.742 MB.
11
while executing
"source /Data/zxb/GELU_softmax/solution1/cosim.tcl"
invoked from within
"hls::main /Data/zxb/GELU_softmax/solution1/cosim.tcl"
("uplevel" body line 1)
invoked from within
"uplevel 1 hls::main {*}$newargs"
(procedure "hls_proc" line 16)
invoked from within
"hls_proc [info nameofexecutable] $argv"
INFO: [HLS 200-112] Total CPU user time: 291.45 seconds. Total CPU system time: 4.6 seconds. Total elapsed time: 306.08 seconds; peak allocated memory: 1.104 GB.
Finished C/RTL cosimulation.

My Vitis HLS version is 2022.2. Do I need to change the version?
Thank you.

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