The problem was with the native floating point. It was resolved following this video:
Single data type as std_logic_vector after HDL Coder.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Aitor Ichaso
le 12 Fév 2019
Réponse apportée : Aitor Ichaso
le 12 Fév 2019
Hi,
As the title says, i have a variable with single data type as real after generating HDL code with HDL coder, but I need for it to become std_logic_vector after generating the code.
How can I do it?
I have already configured for the inputs to become std_logic_vectors:
What I need:
What I get:
I tryed to convert it first to binary and then generate the code, but didn't work. I am doing other trials but without success.
Thank you in advance.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur HDL Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!