Replace "if" statement and while loop with other function
I tried to write a vhdl code which contains the follow "if" statement : if u>v then u= u-v else v=v-u. and a while loop : while u is even loop u=u/2. My question is how can I avoid the if statement and while with another function ? Thank you
Aucun commentaire:
Enregistrer un commentaire