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

"ip-generate FAILED" after upgrading AOC

Altera_Forum
Honored Contributor II
2,198 Views

I recently attempted to upgrade my Altera OpenCL SDK to version 14.1. Everything seemed to complete successfully so then I attempted to compile a test program. When I attempted to compile a program with this new version, I received the following message. 

 

C:\Users\Me\workspace > aoc --board p385_mac_a7 -v hello_world.cl aoc: Environment checks are completed successfully. You are now compiling the full flow!! aoc: Selected target board p385_mac_a7 aoc: Running OpenCL parser.... aoc: OpenCL parser completed successfully. aoc: Compiling.... aoc: Linking with IP library ... aoc: First stage compilation completed successfully. Error: ip-generate FAILED. Refer to hello_world/hello_world.log for details.  

 

Here is what the log file had about the error: 

 

 

--- Quote Start ---  

 

... 

2014.12.18.13:55:53 Info: set_validation_property AUTOMATIC_VALIDATION false 

2014.12.18.13:55:53 Info: add_instance kernel_system kernel_system  

2014.12.18.13:56:01 Info: add_connection board.kernel_clk kernel_system.clock_reset 

2014.12.18.13:56:01 Info: add_connection board.kernel_clk2x kernel_system.clock_reset2x 

2014.12.18.13:56:01 Info: add_connection board.kernel_reset kernel_system.clock_reset_reset 

2014.12.18.13:56:01 Info: add_connection kernel_system.kernel_mem0 board.kernel_mem0 

2014.12.18.13:56:01 Info: add_connection kernel_system.kernel_mem1 board.kernel_mem1 

2014.12.18.13:56:01 Info: add_connection board.kernel_irq kernel_system.kernel_irq 

2014.12.18.13:56:01 Info: add_connection board.kernel_cra kernel_system.kernel_cra 

2014.12.18.13:56:01 Info: add_connection board.acl_internal_snoop kernel_system.cc_snoop 

2014.12.18.13:56:01 Info: add_connection board.kernel_clk kernel_system.cc_snoop_clk 

2014.12.18.13:56:01 Info: save_system  

'ip-generate' is not recognized as an internal or external command, 

operable program or batch file. 

 

--- Quote End ---  

 

 

Has anyone seen anything like this or know what could be the cause of it?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,425 Views

Hi, 

 

I did add the following path in the PATH environment variable to make sure ip-generate was found: 

 

[root@localhost iso]# find /opt/altera/14.0 -name ip-generate 

/opt/altera/14.0/quartus/sopc_builder/bin/ip-generate 

 

export PATH=$PATH:/opt/altera/14.0/quartus/sopc_builder/bin/ip-generate 

 

Thanks 

G
0 Kudos
Altera_Forum
Honored Contributor II
1,425 Views

zmiller: This seems to be an issue with Windows in 14.1. As a workaround add sopc_builder/bin to your PATH: set PATH=c:\altera\14.1\quartus\sopc_builder\bin;%PATH% 

 

gigi: You're referring to 14.0 Linux. I don't think you needed to this in Linux for either 14.0 or 14.1
0 Kudos
Altera_Forum
Honored Contributor II
1,425 Views
0 Kudos
Reply