UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
214 Views
Registered: ‎05-08-2019

ERROR: [HLS 200-70] Failed building synthesis data model. command 'ap_source' returned error code

Jump to solution

I am getting error as below

How to solve it?

 

 

 

Starting C synthesis ...
D:/Vivado/2018.3/bin/vivado_hls.bat D:/sesha_vivado_files/sesha_paillier_encry/solution1/csynth.tcl
INFO: [HLS 200-10] Running 'D:/Vivado/2018.3/bin/unwrapped/win64.o/vivado_hls.exe'
INFO: [HLS 200-10] For user 'sarve' on host 'desktop-p0fab73' (Windows NT_amd64 version 6.2) on Tue Oct 15 10:54:59 +0800 2019
INFO: [HLS 200-10] In directory 'D:/sesha_vivado_files'
INFO: [HLS 200-10] Opening project 'D:/sesha_vivado_files/sesha_paillier_encry'.
INFO: [HLS 200-10] Adding design file 'sesha_paillier_encry/paillier.cpp' to the project
INFO: [HLS 200-10] Opening solution 'D:/sesha_vivado_files/sesha_paillier_encry/solution1'.
INFO: [SYN 201-201] Setting up clock 'default' with a period of 10ns.
INFO: [HLS 200-10] Setting target device to 'xcvu095-ffva2104-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 'sesha_paillier_encry/paillier.cpp' ...
INFO: [HLS 200-111] Finished Linking Time (s): cpu = 00:01:35 ; elapsed = 00:03:10 . Memory (MB): peak = 243.477 ; gain = 158.512
INFO: [HLS 200-111] Finished Checking Pragmas Time (s): cpu = 00:01:35 ; elapsed = 00:03:10 . Memory (MB): peak = 243.477 ; gain = 158.512
INFO: [HLS 200-10] Starting code transformations ...
INFO: [HLS 200-111] Finished Standard Transforms Time (s): cpu = 00:01:41 ; elapsed = 00:03:17 . Memory (MB): peak = 400.570 ; gain = 315.605
INFO: [HLS 200-10] Checking synthesizability ...
WARNING: [SYNCHK 200-23] sesha_paillier_encry/paillier.cpp:158: 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:01:42 ; elapsed = 00:03:18 . Memory (MB): peak = 406.715 ; gain = 321.750
INFO: [XFORM 203-11] Balancing expressions in function 'mod_mult_2048' (sesha_paillier_encry/paillier.cpp:38:42)...7 expression(s) balanced.
INFO: [HLS 200-111] Finished Pre-synthesis Time (s): cpu = 00:01:45 ; elapsed = 00:03:21 . Memory (MB): peak = 457.848 ; gain = 372.883
ERROR: [HLS 200-70] Failed building synthesis data model.
command 'ap_source' returned error code
while executing
"source D:/sesha_vivado_files/sesha_paillier_encry/solution1/csynth.tcl"
invoked from within
"hls::main D:/sesha_vivado_files/sesha_paillier_encry/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"
0x00007FF90B34F4E8 (0x000001D563185020 0x00007FF90B350EA9 0x000001D3CCDA52F0 0x00007FF944C0083D), ?main@Syn@@YAHHPEAPEAD@Z() + 0x37F598 bytes(s)
0x00007FF90B34DBA7 (0x0000000000000000 0x000001D3C49148C0 0x000001D3C49148C0 0x000001B000000000), ?main@Syn@@YAHHPEAPEAD@Z() + 0x37DC57 bytes(s)
0x00007FF90B34EB55 (0x0000000000000000 0x00007FF90BDD77B0 0x000001D3C03E1330 0x000001D3C27EDB00), ?main@Syn@@YAHHPEAPEAD@Z() + 0x37EC05 bytes(s)
0x00007FF90B2DF802 (0x0000000000000000 0x00007FF90AF35F72 0x000001D3C0383A60 0x00007FF90C7B72E2), ?main@Syn@@YAHHPEAPEAD@Z() + 0x30F8B2 bytes(s)
0x00007FF90B3C5125 (0x000001D3C03E1568 0x00007FF90BEE1E60 0xFFFFFFFFFFFFFFFE 0x000001D300000000), ?main@Syn@@YAHHPEAPEAD@Z() + 0x3F51D5 bytes(s)
0x00007FF90BEE1D42 (0x000001D3C03E15A0 0x000001D3C03E1578 0x000001D3C03E3740 0x000001D3C03E1330), exp2() + 0x344482 bytes(s)
0x00007FF942AF9D06 (0x0000000000000000 0x000000374C7FEBB8 0x000000374C7FEE70 0x00007FF942BCBC20), _execute_onexit_table() + 0x156 bytes(s)
0x00007FF942AF9C2B (0x0000000000000000 0x0000000000000001 0x000001D3BE831590 0x000000374C7FEBA8), _execute_onexit_table() + 0x7B bytes(s)
0x00007FF942AF9BE4 (0x00007FF90C427AD0 0x000001D300000002 0x00007FF900000002 0x000000374C7FEBA0), _execute_onexit_table() + 0x34 bytes(s)
0x00007FF90BDD762E (0x0000000000000001 0x000000374C7FEE00 0x0000000000000001 0x00007FF941980000), exp2() + 0x239D6E bytes(s)
0x00007FF90BDD7724 (0x00007FF90AEF0000 0x0000000000000000 0x0000000000000001 0x000000007FFE0385), exp2() + 0x239E64 bytes(s)
0x00007FF944BE50A1 (0x000001D3C05AA6B0 0x00007FF90AEF0000 0x00007FF900000000 0x000001D3C05AA6D0), RtlActivateActivationContextUnsafeFast() + 0x121 bytes(s)
0x00007FF944C2AB02 (0x0000000000000001 0x000001D3BE8368D0 0x0000000000000000 0x0000000000000002), LdrShutdownProcess() + 0x132 bytes(s)
0x00007FF944C2A9AD (0x0000000000000001 0x000001D3BE8368D0 0x00007FF942B99B68 0x0000000000000000), RtlExitUserProcess() + 0xAD bytes(s)
0x00007FF94396CD8A (0x0000000000000001 0x0000000000000000 0x000000374C7FEE58 0x00007FF942BCBC20), ExitProcess() + 0xA bytes(s)
0x00007FF942AFAE38 (0x0000000000000001 0x000001D300000000 0x0000000000000000 0x000000374C7FEE50), _o_free() + 0x178 bytes(s)
0x00007FF942AF86EF (0x0000000000000001 0x000001D300000000 0x0000000000000000 0x0000000000000001), exit() + 0x7F bytes(s)
0x0000000053A13393 (0x000001D3BE831590 0x000001D3BE8238F0 0x000000374C7FEE20 0x000000374C7FEE28), Tcl_Exit() + 0x63 bytes(s)
0x00000000539DAEBA (0x0000000053AD5A20 0x0000000000000000 0x00007FF900000001 0x0000000053A9AC3C), TclDumpMemoryInfo() + 0x34EA bytes(s)
0x00000000539D11FC (0x0000000000000000 0x000001D300000002 0x000001D3BE8368D0 0x00007FF90CBC7980), Tcl_ListMathFuncs() + 0x58C bytes(s)
0x00000000539D218E (0x000001D3BE831590 0x00007FF90CBC7980 0xFFFFFFFF00000002 0x00007FF900000002), Tcl_EvalEx() + 0x99E bytes(s)
0x00000000539D2A38 (0x000001D3C03DDA30 0x0000000000000000 0x000001D3C03DDA10 0x0000000000000000), Tcl_Eval() + 0x38 bytes(s)
0x00007FF90C959164 (0x000001D3C0342E90 0x000001D300000000 0x000001D3C0351C20 0x000000000000000B), Java_ui_frmwork_commandi_undo() + 0x183E4 bytes(s)
0x00007FF90C9594A7 (0x000001D3C03427F0 0x0000000000000006 0x000000374C7FF768 0x000001D3BE702580), Java_ui_frmwork_commandi_undo() + 0x18727 bytes(s)
0x00007FF910A8C934 (0x000001D3BE831590 0x000000374C7FF768 0xFFFFFFFFFFFFFFFF 0x5F736B7361746E6F), ?eval_in_tcl_throw@task_manager@tcltasks@hdi@@SAHPEBD0_N@Z() + 0x254 bytes(s)
0x00007FF910A8F746 (0x65732F73656C6966 0x6C6961705F616873 0x636E655F7265696C 0x74756C6F732F7972), ?retrieve_except_msg_instance@task_manager@tcltasks@hdi@@SA_NAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z() + 0x4C6 bytes(s)
0x00000000539D11FC (0x0000003700000000 0x000000000000000B 0x000001D3BE84AF10 0x0000000000000000), Tcl_ListMathFuncs() + 0x58C bytes(s)
0x00000000539D1681 (0x000001D3BE82C7D0 0x000000000000000B 0x0000000000000001 0x000000374C7FFB79), Tcl_EvalObjv() + 0x51 bytes(s)
0x00000000539D2C37 (0x000000000000000B 0x000000374C7FFB79 0x000000000000000B 0x000001D3BE831590), TclEvalObjEx() + 0x157 bytes(s)
0x00000000539D2ACD (0x0000000000000050 0x0000000000000000 0x0000000000000050 0x000001D3BE828F00), Tcl_EvalObjEx() + 0x1D bytes(s)
0x00007FF9116046AA (0x000001D3BE82BC90 0x000001D3BE82BC90 0x000001D3BE831590 0x0000000000000000)
0x0000000053A46BE1 (0x000001D3BE792080 0x00007FF941AA2FE0 0x00007FF942B99B68 0x0000000000000000), Tcl_Main() + 0x471 bytes(s)
0x00007FF910ABADE9 (0x000001D3BE792080 0x0000000000000000 0x0000000000000000 0x0000000000000000), ?join@HCTNativeThread@@QEAAXXZ() + 0x39 bytes(s)
0x00007FF942B00E72 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), _beginthreadex() + 0x142 bytes(s)
0x00007FF943967BD4 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
0x00007FF944C2CED1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
Abnormal program termination (EXCEPTION_ACCESS_VIOLATION)
Please check 'D:/sesha_vivado_files/hs_err_pid6152.log' for details
Finished C synthesis.

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
102 Views
Registered: ‎05-31-2017

Re: ERROR: [HLS 200-70] Failed building synthesis data model. command 'ap_source' returned error code

Jump to solution

HI @chandu_sathi ,

From the error, it seems Vivado HLS 2018.3 got crashed when trying to synthesize your design.

Please give a try in Vivado HLS 2019.1 version. If you still see the same issue there too then please share us your design for debugging further.

1 Reply
Moderator
Moderator
103 Views
Registered: ‎05-31-2017

Re: ERROR: [HLS 200-70] Failed building synthesis data model. command 'ap_source' returned error code

Jump to solution

HI @chandu_sathi ,

From the error, it seems Vivado HLS 2018.3 got crashed when trying to synthesize your design.

Please give a try in Vivado HLS 2019.1 version. If you still see the same issue there too then please share us your design for debugging further.