title: Divide negative number in VHDL by shifting
body: <p>I have a negative number(MSB=1). How can I divide the number by, say 2 , by shifting in VHDL.</p>
  
  <p>Eg. shifting -6 should give me 2.</p>
  
  <p>How can I generalize the division/shift
  eg:-  -6  ->  -3
         6  ->   3 </p>