Gorilla (gorillashaman) wrote in vhdl_forum,
Gorilla
gorillashaman
vhdl_forum

need a little help

I'm teaching myself, so please forgive any dumb questions.

I've got an 8 bit counter. I want a flag to be true if the counter is below some value.

This doesn't work:

signal COUNTER : std_logic_vector(7 downto 0);
signal FLAG : std_logic;

FLAG <= COUNTER < "00110011"; -- what should go here?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments