cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
192 Views
Registered: ‎04-29-2020

ERROR: [HLS 200-70] Failed building synthesis data model

Starting C synthesis ...
D:/Xilinx/Vivado/2020.1/bin/vivado_hls.bat D:/work/u50/src/hls/risk_ctrl/risk_prj/solution1/csynth.tcl
INFO: [HLS 200-10] Running 'D:/Xilinx/Vivado/2020.1/bin/unwrapped/win64.o/vivado_hls.exe'
INFO: [HLS 200-10] For user 'yong' on host 'desktop-k97jukq' (Windows NT_amd64 version 6.2) on Mon Jun 29 09:54:08 +0800 2020
INFO: [HLS 200-10] In directory 'D:/work/u50/src/hls/risk_ctrl'
Sourcing Tcl script 'D:/work/u50/src/hls/risk_ctrl/risk_prj/solution1/csynth.tcl'
INFO: [HLS 200-10] Opening project 'D:/work/u50/src/hls/risk_ctrl/risk_prj'.
INFO: [HLS 200-10] Adding design file 'source/book.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/o2rdecode.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/req_merge.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/risk_ctrl.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/rule_check.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/t2rdecode.cpp' to the project
INFO: [HLS 200-10] Adding design file 'source/toe_merge.cpp' to the project
INFO: [HLS 200-10] Adding test bench file 'source/data/funds.txt' to the project
INFO: [HLS 200-10] Adding test bench file 'source/data/holding.txt' to the project
INFO: [HLS 200-10] Adding test bench file 'source/risk_test.cpp' to the project
INFO: [HLS 200-10] Adding test bench file 'source/data/stock_list.txt' to the project
INFO: [HLS 200-10] Opening solution 'D:/work/u50/src/hls/risk_ctrl/risk_prj/solution1'.
INFO: [SYN 201-201] Setting up clock 'default' with a period of 4ns.
INFO: [HLS 200-10] Setting target device to 'xcu50-fsvh2104-2-e'
INFO: [SCHED 204-61] Option 'relax_ii_for_timing' is enabled, will increase II to preserve clock frequency constraints.
INFO: [HLS 200-10] Analyzing design file 'source/toe_merge.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/t2rdecode.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/rule_check.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/risk_ctrl.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/req_merge.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/o2rdecode.cpp' ... 
INFO: [HLS 200-10] Analyzing design file 'source/book.cpp' ... 
INFO: [HLS 200-111] Finished Linking Time (s): cpu = 00:00:04 ; elapsed = 00:01:02 . Memory (MB): peak = 995.797 ; gain = 899.523
INFO: [HLS 200-111] Finished Checking Pragmas Time (s): cpu = 00:00:04 ; elapsed = 00:01:02 . Memory (MB): peak = 995.797 ; gain = 899.523
INFO: [HLS 200-10] Starting code transformations ...
INFO: [HLS 200-111] Finished Standard Transforms Time (s): cpu = 00:00:06 ; elapsed = 00:01:04 . Memory (MB): peak = 995.797 ; gain = 899.523
INFO: [HLS 200-10] Checking synthesizability ...
INFO: [XFORM 203-602] Inlining function 'heart_send' into 'rule_check' (source/rule_check.cpp:216) automatically.
INFO: [XFORM 203-602] Inlining function 'stock_s2i' into 'rule_check' (source/rule_check.cpp:231) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set.2' (source/book.cpp:148) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::compare' (source/book.cpp:86) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set' (source/book.cpp:115) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'Book::set' (source/book.cpp:115) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::get' (source/book.cpp:126) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'Book::get' (source/book.cpp:126) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set.1' (source/book.cpp:137) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::get.1' (source/book.cpp:160) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::write' (source/book.cpp:47) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::del' (source/book.cpp:67) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::set.2' into 'book_mgr' (source/book.cpp:193) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::set.1' into 'book_mgr' (source/book.cpp:202) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::clear' into 'book_mgr' (source/book.cpp:211) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'book_mgr' (source/book.cpp:214) automatically.
WARNING: [SYNCHK 200-23] source/t2rdecode.cpp:37: variable-indexed range selection may cause suboptimal QoR.
INFO: [SYNCHK 200-10] 0 error(s), 1 warning(s).
INFO: [HLS 200-111] Finished Checking Synthesizability Time (s): cpu = 00:00:06 ; elapsed = 00:01:05 . Memory (MB): peak = 995.797 ; gain = 899.523
INFO: [HLS 200-489] Unrolling loop 't2r_rx1' (source/t2rdecode.cpp:35) in function 't2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 't2r_rx2' (source/t2rdecode.cpp:58) in function 't2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'security_id' (source/t2rdecode.cpp:71) in function 't2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'client_ord_id' (source/t2rdecode.cpp:77) in function 't2rdecode' completely with a factor of 10.
INFO: [HLS 200-489] Unrolling loop 'account_id' (source/t2rdecode.cpp:83) in function 't2rdecode' completely with a factor of 12.
INFO: [HLS 200-489] Unrolling loop 'req_qty' (source/t2rdecode.cpp:91) in function 't2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'req_price' (source/t2rdecode.cpp:97) in function 't2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'rej_copy_ord_id' (source/rule_check.cpp:120) in function 'reject_send' completely with a factor of 10.
INFO: [HLS 200-489] Unrolling loop 'rej_copy_sec_id' (source/rule_check.cpp:126) in function 'reject_send' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'rej_copy_account_id' (source/rule_check.cpp:132) in function 'reject_send' completely with a factor of 12.
INFO: [HLS 200-489] Unrolling loop 'rej_copy_value' (source/rule_check.cpp:138) in function 'reject_send' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'rej_calc_check_sum' (source/rule_check.cpp:151) in function 'reject_send' completely with a factor of 201.
INFO: [HLS 200-489] Unrolling loop 'rej_send_pkg' (source/rule_check.cpp:158) in function 'reject_send' completely with a factor of 26.
INFO: [HLS 200-489] Unrolling loop 'rej_copy_data' (source/rule_check.cpp:169) in function 'reject_send' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'o2r_rx1' (source/o2rdecode.cpp:37) in function 'o2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'o2r_rx2' (source/o2rdecode.cpp:57) in function 'o2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'security_id' (source/o2rdecode.cpp:76) in function 'o2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'client_ord_id' (source/o2rdecode.cpp:82) in function 'o2rdecode' completely with a factor of 10.
INFO: [HLS 200-489] Unrolling loop 'account_id' (source/o2rdecode.cpp:88) in function 'o2rdecode' completely with a factor of 12.
INFO: [HLS 200-489] Unrolling loop 'req_qty' (source/o2rdecode.cpp:96) in function 'o2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'req_price' (source/o2rdecode.cpp:102) in function 'o2rdecode' completely with a factor of 8.
INFO: [HLS 200-489] Unrolling loop 'tx_r2t' (source/o2rdecode.cpp:138) in function 'o2rdecode' completely with a factor of 8.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.account_id' (source/o2rdecode.cpp:14) automatically.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.client_ord_id' (source/o2rdecode.cpp:14) automatically.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.security_id' (source/o2rdecode.cpp:14) automatically.
INFO: [XFORM 203-102] Partitioning array 'req.client_ord_id' (source/rule_check.cpp:191) automatically.
INFO: [XFORM 203-102] Partitioning array 'req.security_id' (source/rule_check.cpp:191) automatically.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.account_id' (source/t2rdecode.cpp:14) automatically.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.client_ord_id' (source/t2rdecode.cpp:14) automatically.
INFO: [XFORM 203-102] Partitioning array 'ordReqData.security_id' (source/t2rdecode.cpp:14) automatically.
INFO: [XFORM 203-101] Partitioning array 'ordBuff'  in dimension 1 with a cyclic factor 8.
INFO: [XFORM 203-101] Partitioning array 'rejectBin'  in dimension 1 with a cyclic factor 8.
INFO: [XFORM 203-101] Partitioning array 'ordBuff.1'  in dimension 1 with a cyclic factor 8.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.0' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.1' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.2' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.3' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.4' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.5' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.6' automatically.
INFO: [XFORM 203-102] Partitioning array 'rejectBin.7' automatically.
INFO: [XFORM 203-602] Inlining function 'heart_send' into 'rule_check' (source/rule_check.cpp:216) automatically.
INFO: [XFORM 203-602] Inlining function 'stock_s2i' into 'rule_check' (source/rule_check.cpp:231) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set.2' (source/book.cpp:148) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::compare' (source/book.cpp:86) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set' (source/book.cpp:115) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'Book::set' (source/book.cpp:115) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::get' (source/book.cpp:126) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'Book::get' (source/book.cpp:126) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::set.1' (source/book.cpp:137) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<96> >' into 'Book::get.1' (source/book.cpp:160) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::write' (source/book.cpp:47) automatically.
INFO: [XFORM 203-602] Inlining function 'loop_find<ap_uint<20> >' into 'Book::del' (source/book.cpp:67) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::set.2' into 'book_mgr' (source/book.cpp:193) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::set.1' into 'book_mgr' (source/book.cpp:202) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::get.1' into 'book_mgr' (source/book.cpp:205) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::clear' into 'book_mgr' (source/book.cpp:211) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::compare' into 'book_mgr' (source/book.cpp:214) automatically.
INFO: [XFORM 203-712] Applying dataflow to function 'risk_ctrl', detected/extracted 7 process function(s): 
	 'o2rdecode'
	 'rule_check'
	 'book_inf'
	 'tgw_merge'
	 't2rdecode'
	 'oms_merge'
	 'req_merge'.
INFO: [XFORM 203-602] Inlining function 'Book::write' into 'book_mgr' (source/book.cpp:208) automatically.
INFO: [XFORM 203-602] Inlining function 'Book::del' into 'book_mgr' (source/book.cpp:217) automatically.
INFO: [XFORM 203-11] Balancing expressions in function 'rule_check' (source/rule_check.cpp:37:17)...6 expression(s) balanced.
INFO: [XFORM 203-11] Balancing expressions in function 'reject_send' (source/rule_check.cpp:74)...107 expression(s) balanced.
INFO: [HLS 200-111] Finished Pre-synthesis Time (s): cpu = 00:00:16 ; elapsed = 00:01:15 . Memory (MB): peak = 995.797 ; gain = 899.523
ERROR: [HLS 200-70] Failed building synthesis data model.
command 'ap_source' returned error code
    while executing
"source D:/work/u50/src/hls/risk_ctrl/risk_prj/solution1/csynth.tcl"
    invoked from within
"hls::main D:/work/u50/src/hls/risk_ctrl/risk_prj/solution1/csynth.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 hls::main {*}$args"
    (procedure "hls_proc" line 5)
    invoked from within
"hls_proc $argv"
Finished C synthesis.

0 Kudos
0 Replies