VHDL No Function declaration for operator “-”
问题 So i have a task to do the mod operation between 2 vectors(called here dividendo and divisor), so what i need is dividendo mod divisor. We have some restrictions on this code, that is, we cant use iee_std_logic_1164, textio, etc. I think the only libraries allowed are IEEE and IEEE.numeric_bit The algorithm to this operation tells me to: while(dividendo >= divisor){ dividendo = dividendo - divisor } return dividendo And then i wrote this vhdl file: library IEEE; entity resto is port (clock ,