Hot answers tagged


q1_equal is a signal of 4 bits coming out of the Functional unit, in this case Here is my code :the comparator line 46 : IF (q1_equals = '1' and reset = '0') THEN You can't compare a 4 bit signal (either a bit vector or std_logic_vector) to a single bit. You need to re-write the comparison as something like... IF (q1_equals = "0001" and reset = ...

Only top voted, non community-wiki answers of a minimum length are eligible