Forum Discussion
Hi ,
May I know which file you take it as reference for the above code
- PWalk146 years ago
New Contributor
Thanks for the reply.
The file from which these are extracted is 'BLU_New.vhd' size ~41k which appears after the wizard has run.
(There is also a small 'BLU_New.qip' file containing:-
set_global_assignment -name IP_TOOL_NAME "ALTUFM_PARALLEL"
set_global_assignment -name IP_TOOL_VERSION "13.0"
set_global_assignment -name VHDL_FILE [file join $::quartus(qip_path) "BLU_New.vhd"]
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "BLU_New.bsf"]
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "BLU_New_inst.vhd"]
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "BLU_New.inc"]
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "BLU_New.cmp"]
and
'BLU_New_inst.vhd' file containing :-
BLU_New_inst : BLU_New PORT MAP (
addr => addr_sig,
nread => nread_sig,
data_valid => data_valid_sig,
dataout => dataout_sig,
nbusy => nbusy_sig
);
also BLU_New.bsf, BLU_New.cmp and BLU_New.inc
generated by the wizard
)
I would have uploaded all these but the website would not accept a '*.zip' file.
(Also could not access the info as to what was allowed - got a site error message)
My input file is 'KBReader.hex' (~16k) generated from the 'File' menu as recommended.
This is intel HEX format with 1 byte per line and does contain the reqired data.
(I tried with an independently generated HEX file with 32 bytes per line without apparent success but maybe just the same as now)
The HEX file is referenced in the 'BLU_New_inst.vhd' file above the second block of '0's as noted originally and near the end as a comment.
I'm just a bit reluctant to instatiate the rest of the code until reasonably sure the memory loading will succeed.
If this approach is possible it will allow the use of the smallest device instead of requiring the next size up ( and leaving the UFM unused)
Hope that is sufficient.
Phil