Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Why the device of quartus_cpf command is illegal?

NuvKFC
New Contributor I
1,301 Views

NuvKFC_0-1655879529963.png

Above picture show the setting in the Convert Programming Files GUI.

 

I want to translate it to TCL commands.

The TCL command is as follow picture.

Unfortunately, tool tell me that device is illegal as follow picture.

 

Command:

NuvKFC_1-1655879686914.png

 

pof_convert.tcl file:

NuvKFC_2-1655879729820.png

NuvKFC_3-1655879744857.png

Error message:

NuvKFC_5-1655879906975.png

 

 

 

0 Kudos
6 Replies
YuanLi_S_Intel
Employee
1,284 Views

Can you try the following workaround? Seems like we have issue on v13.1 and earlier

https://www.intel.com/content/www/us/en/support/programmable/articles/000081258.html?wapkw=error%20213035


0 Kudos
NuvKFC
New Contributor I
1,269 Views

Hi YuanLi_S_Intel

     Thank you, YuanLi_S_Intel, very much.

 

The generated pof file name is different every time.

How to configure the cof file's pof file name by using "quartus_cpf -c <cof file>" command?

0 Kudos
ak6dn
Valued Contributor III
1,275 Views

As noted in the earlier post, on Quartus 13.0sp1 I use a configuration file .cof and run quartus_cpf -c design.cof and that works just fine.

You just have to put all the parameters in the .cof file and not on the command line.

Contents of my design.cof file:

 

<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<cof>
	<eprom_name>EPCS4</eprom_name>
	<flash_loader_device>EP2C20</flash_loader_device>
	<output_filename>design.jic</output_filename>
	<n_pages>1</n_pages>
	<width>1</width>
	<mode>7</mode>
	<sof_data>
		<user_name>Page_0</user_name>
		<page_flags>1</page_flags>
		<bit0>
			<sof_filename>design.sof</sof_filename>
		</bit0>
	</sof_data>
	<version>4</version>
	<options>
		<map_file>1</map_file>
	</options>
</cof>

 

 

 

0 Kudos
NuvKFC
New Contributor I
1,269 Views

Hi ak6dn

     Thank you, ak6dn, very much.

 

I will try to use Convert Programming Files GUI to generate the cof file.

Do you mean that?

0 Kudos
ak6dn
Valued Contributor III
1,262 Views

If I recall correctly, I think I used that tool the first time to build it in a GUI.

Now I just modify/build it using a text editor copy/paste/edit.

The .cof file is a simple XML format text file, so a text editor works just fine.

0 Kudos
NuvKFC
New Contributor I
1,238 Views

Hi ak6dn

     Thank you, ak6dn, very much.

 

Because the generated pof file name  and sof file are different every time, could I use the variable in the cof file?

 

0 Kudos
Reply