title: vhdl checking a range with if statements
body: <p>I am quiet new to VHDL, so i am having trouble with this issue.</p>
  
  <p>A section of my program is to measure the time it takes for a capacitor to charge, and then see which range the charge time falls under. 
  What i want to see is if count falls under the range H43044 - H 43238  or H8c424 - H8c618 </p>
  
  <pre><code>if ((count &gt;= x"43044") and (count &lt;= x"43238"))then
      d3 &lt;= '1'; --enable output
  elsif ((count &gt;= x"8c424") and (count &lt;= x"8c618"))  then
      d4 &lt;= '1';
  end if;
  </code></pre>
  
  <p>i made sure the count falls under one of these statement, but i get no output at all. I wonder if this is the right way to approach this problem.</p>