- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've added following line to redirector.qsf (redirector is project name)
set_global_assignment -name POST_FLOW_SCRIPT_FILE "quartus_sh:sof_to_jic.tcl"
Contents of sof_to_jic.tcl:
exec quartus_cpf -c conv_setup.cof
post_message "Script has been executed"
Contents of conv_setup.cof (generated by Quartus II):
<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<cof>
<eprom_name>EPCS4</eprom_name>
<flash_loader_device>EP4CE6</flash_loader_device>
<output_filename>output_files/output_file.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>output_files/redirector.sof</sof_filename>
</bit0>
</sof_data>
<version>5</version>
<create_cvp_file>0</create_cvp_file>
<options>
</options>
</cof>
JIC file is generated successfully.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this is a correct way of performing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@JohnT_Intel, do you know how to specify Advanced converting option "Disable AS mode CONF_DONE error check" when converting via script? This option is absent in .cof file, so even when loading settings from .cof file, I have to click "Advanced options" and tick this checkbox.
I suppose when converting JIC via script this option is no applied too. So, how to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The cof file does contain the setting. Just that when you load the cof file into the GUI, the advanced option does not take into effect.
You can look into the cof file "<ignore_condone_check>1</ignore_condone_check>", that the setting s included.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@JohnT_Intel, many thanks. Thats very useful information. How about "Disable EPCS ID check" option? I don't need it now, but may need in future. Is there any document where I can find the list of options, or only you can tell me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Below is the cof setting that you can use.
<advanced_options>
<ignore_epcs_id_check>1</ignore_epcs_id_check>
<ignore_condone_check>1</ignore_condone_check>
</advanced_options>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@JohnT_Intel, thanks again. I've accidentaly found the answer to question that can relate my problem.
I had problems with CONF_DONE on one of my boards. Simply programming of FPGA ended failure. That's why I had to "Disable CONF_DONE check". Maybe I wouldn't have to disable CONF_DONE check if I change the PLC option!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page