Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProblems with ALTASMI_PARALLEL megafunction
Hi, I'm trying to use ALTASMI_PARALLEL in a Cyclone design with an EPCS1. The problem is that all the code which drives this megafunction, and the megafunction itself, gets optimised away duri...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- I have a similar problem, but I don't read at all. I only use the component to write to the configuration memory. I have tried to set rden=1 (which feels strange when you don't want to read), but the component is optimized away anyway. Is there any specific operation I need to perform to get it to stay in my design? I tried to forward some of the address lines to a debug pin or use signal tap, in this case the component stays and work, but I don't want this code in my final product. Thanks / Joakim --- Quote End --- If your application code never reads the EEPROM then I'm assuming the data you are writing is new configuration bitstream, for use when the device is reconfigured, i.e. a sort of bootloader? In that case I would try adding a synthesis keep or preserve attribute to the signals mapped to the ASMI instance. For a bootloader, especially one to be used by the end customer, I would always read back and verify the EEPROM data anyway. Regards Rhydian.