Hi EJ,
I am trying to build CNN example. I have used this ready-to-use model. ../../hls4ml/keras-to-hls/example-keras-model-files/KERAS_conv1d.json
When i run this command: vivado_hls -f build_prj.tcl
I got this error:
***** C SIMULATION *****
INFO: [SIM 211-2] *************** CSIM start ***************
INFO: [SIM 211-4] CSIM will launch GCC as the compiler.
Compiling ../../../../test_cnn_test.cpp in debug mode
Compiling ../../../../firmware/test_cnn.cpp in debug mode
Generating csim.exe
@E Simulation failed: SIGSEGV.
ERROR: [SIM 211-100] CSim failed with errors.
INFO: [SIM 211-3] *************** CSIM finish ***************
4
while executing
"source [lindex $::argv 1] "
("uplevel" body line 1)
invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "
INFO: [Common 17-206] Exiting vivado_hls at Wed Sep 18 00:21:57 2019...
Then i tried to remove CSIM from project in build_prj.tcl by commenting these lines:
if {$opt(csim)} {
puts "***** C SIMULATION *****"
csim_design
}
After trying build again, i got this error:
***** C/RTL SYNTHESIS *****
INFO: [HLS 200-10] Analyzing design file 'firmware/test_cnn.cpp' ...
ERROR: [HLS 200-70] pragma 'STREAM variable=logits1 complete depth=1' has unknown option 'complete'
ERROR: [HLS 200-70] '#pragma HLS STREAM variable=logits1 complete depth=1' is not a valid pragma.
ERROR: [HLS 200-70] pragma 'STREAM variable=logits2 complete depth=1' has unknown option 'complete'
ERROR: [HLS 200-70] '#pragma HLS STREAM variable=logits2 complete depth=1' is not a valid pragma.
ERROR: [HLS 200-70] pragma 'STREAM variable=logits3 complete depth=1' has unknown option 'complete'
ERROR: [HLS 200-70] '#pragma HLS STREAM variable=logits3 complete depth=1' is not a valid pragma.
Pragma processor failed:
while executing
"source [lindex $::argv 1] "
("uplevel" body line 1)
invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "
INFO: [Common 17-206] Exiting vivado_hls at Wed Sep 18 00:25:31 2019...
I can build keras_1layer successfully. What can be a problem about CNN?
Best regards.
Hi EJ,
I am trying to build CNN example. I have used this ready-to-use model.
../../hls4ml/keras-to-hls/example-keras-model-files/KERAS_conv1d.jsonWhen i run this command:
vivado_hls -f build_prj.tclI got this error:
Then i tried to remove CSIM from project in
build_prj.tclby commenting these lines:After trying build again, i got this error:
I can build keras_1layer successfully. What can be a problem about CNN?
Best regards.