ERROR: [SYNCHK 200-79] Cannot find the top function 'cordic' in the design. Possible causes are: (1) the top function name is misspelled; (2) the top function is nonexistent or declared as static.
ERROR: [HLS 200-70] Synthesizability check failed.
command 'ap_source' returned error code
while executing
"source C:/AVLSI/trial/cordic/solution1/csynth.tcl"
invoked from within
"hls::main C:/AVLSI/trial/cordic/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"
The above error is being thrown when i try to run my C code.
Can u please help me rectifying it?