How can I control block parameter value by input port at Altera DE2-115 FPGA ?
이전 댓글 표시
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!!!
답변 (1개)
Azzi Abdelmalek
2015년 7월 9일
편집: Azzi Abdelmalek
2015년 7월 9일
0 개 추천
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
카테고리
도움말 센터 및 File Exchange에서 Get Started with HDL Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!