Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16593 Discussions

AOC Error while running hello world

Altera_Forum
Honored Contributor II
1,491 Views

Command used: aoc -v device/hello_world.cl -o bin/hello_world.aocx --board a10gx 

 

Output: 

aoc: First stage compilation completed successfully. 

Error: Peak virtual memory: 1036 megabytes 

Error: Processing ended: Thu Aug 31 17:34:28 2017 

Error: Elapsed time: 00:00:01 

Error: Total CPU time (on all processors): 00:00:00 

Error: ip-generate FAILED. 

 

hello_world.log: 

Error (125091): Tcl error: ERROR: Illegal assignment: PR_ALLOW_GLOBAL_LIMS. Specify a legal assignment name. 

 

while executing 

"set_instance_assignment -name PR_ALLOW_GLOBAL_LIMS ON -to freeze_wrapper_inst|kernel_system_clock_reset_reset_reset_n" 

(file "flat.qsf" line 66) 

Error (125036): Assignment value PR_IMPL for assignment REVISION_TYPE is illegal File: .../top.qsf Line: 27 

Info (125063): set_global_assignment -name REVISION_TYPE PR_IMPL File: .../hello_world/bin/hello_world/top.qsf Line: 27 

Info (125076): Specified assignment value "REVISION_TYPE" must include one of the following values: "Aggregate", "Base", "CVP", "Mask", "Reconfigurable" 

Error (125080): Can't open project -- Quartus Prime Settings File contains one or more errors 

------------------------------------------------ 

ERROR: Can't open project: top 

 

while executing 

"project_open $project_name -revision $revision_name" 

(file "scripts/pre_flow_pr.tcl" line 38) 

------------------------------------------------ 

Error (23031): Evaluation of Tcl script scripts/pre_flow_pr.tcl unsuccessful 

Error: Quartus Prime Shell was unsuccessful. 4 errors, 0 warnings 

Error: Peak virtual memory: 1036 megabytes 

Error: Processing ended: Thu Aug 31 17:34:28 2017 

Error: Elapsed time: 00:00:01 

Error: Total CPU time (on all processors): 00:00:00
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
552 Views

What version of quartus and aoc are you using? If you are using anything other than 16.1.2 or 17.0.2, make sure to update both quartus and aoc to one of those versions. Also attach your quartus_sh_compile.log.

0 Kudos
Altera_Forum
Honored Contributor II
552 Views

From "Intel® FPGA SDK for OpenCLGetting Started Guide": 

 

--- Quote Start ---  

 

Development system requirements: 

• You must have administrator privileges on the development system to install thenecessary packages and drivers. 

• The development system has at least 85 gigabytes (GB) of free disk space forsoftware installation. 

the development system has at least 24 gb of ram. 

Tip: Refer to board vendor's documentation on the recommended system storagesize. 

--- Quote End ---  

 

 

Are you sure that your hardware requirement is correct?
0 Kudos
Altera_Forum
Honored Contributor II
552 Views

Thanks! I was using different versions of Quartus and AOC.

0 Kudos
Altera_Forum
Honored Contributor II
552 Views

 

--- Quote Start ---  

From "Intel® FPGA SDK for OpenCLGetting Started Guide": 

 

 

Are you sure that your hardware requirement is correct? 

--- Quote End ---  

 

 

My hardware exceeds all requirements. The problem was with difference in Quartus and AOCL versions.
0 Kudos
Reply