How can I control block parameter value by input port at Altera DE2-115 FPGA ?
Mostrar comentarios más antiguos
I am using HDL workflow advisor in MATLAB 2014a to generate code for Altera DE2-115 FPGA. I want to change certain block parameters by some switches on the board, for example I want to change the parameter 'frequency' of sine block depending on the a signal that comes to the FPGA. Is there any way to do this? If yes, please help. I want the answer to be in very vivid steps to follow!!!
Respuestas (1)
Azzi Abdelmalek
el 9 de Jul. de 2015
Editada: Azzi Abdelmalek
el 9 de Jul. de 2015
0 votos
You can create your own sine block

In this figure, the frequency is generated by a Constant block, in your case it depends on your signals
1 comentario
Hamzeh Jamal
el 9 de Jul. de 2015
Categorías
Más información sobre Get Started with HDL Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!