why do i get this error?
Mostra commenti meno recenti

why am i getting this error while changing matlab code to hdl code
Risposte (2)
Kiran Kintali
il 10 Gen 2023
0 voti
Can you share the design, testbench and the project files?
It looks like you are running into some issue with classes during floating point to fixed point conversion.
Kiran Kintali
il 11 Gen 2023
Modificato: Kiran Kintali
il 11 Gen 2023
0 voti
Please attach files that can run without error. I got an error running the runtrial.m file.
You need break the design that needs to be on the FPGA in a seperate file. There is plotting and figure window related code in ada.m that needs to move into the testbench.
2 Commenti
PARVATHY NAIR
il 11 Gen 2023
Kiran Kintali
il 11 Gen 2023
This file is missing BKHL.HHE.new.dat in your attachments.
Changing this to the attached csv file name leads to other errors.
>> runtrial
Unable to perform assignment because the size of the
left side is 1-by-1 and the size of the right side is
1-by-6039.
Error in ada (line 76)
err_VSS(itr,:) = error.^2;
Error in runtrial (line 4)
[model_coeff_vss]=ada(z,mu_min);
Categorie
Scopri di più su FPGA, ASIC, and SoC Development in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!