Forum Discussion
Hi,
Sry for late response. I tried it out. However, I don't see how I can pass this parameter from .qsf file to the IP module or take the value from the IP module. Maybe, I'm missing the connection here somewhat.
Kinda regards
Luigi
Hi Luigi,
Just notice that this SPI Intel FPGA IP originally don't have any HDL Parameter so you can't pass this parameter from .qsf file to the IP module or take the value from the IP module.
Possible way is to manually create parameter for the slowcount in spi_spi_0_altera_avalon_spi_1923_przinoa.v check screenshot below and link that parameter all the way to top level wrapper. 128000 Hz having 196 clock pulses while 100000 Hz having 250 clock pulses. However, you probably can only pass this parameter to IP module but can't take value from IP module because that module will be getting changed back to original version when IP being regenerated. So may be you can export system as .tcl and read IP value from .tcl.
- Luigi_Boy2 years ago
New Contributor
Good morning Sheng
I see unfortunately that's what I wanted.
But I see that the IP modules can be set via this parameter. Sounds already promising. I'll try and get back. Kinda regards
Luigi