thanks for the reply guys. I am running into one problem now that is stopping my program from working.
In std_ulogic_vector ...quartus 2 does not understand the operator +. here is a sample of my code:
IF (q_one="1001" and q_ten="1001") THEN
q_one <= "0000";
q_ten <= "0000";
ELSE
q_one <= q_one + "0001";
END IF;
IF (q_one=10) THEN
q_ten <= q_ten + "0001";
q_one <="0000";
END IF;
i want to increment q_ten and q_one by 1. this was working when they were integer types but then I couldnt use, the q_ten <= (others => '0'); code it is too much work for me to change the type ...unless i do conv function, but how can i correct this in the easiest way?