Guest
#3545607
hi all; i want to detect if the lsb is odd or even for integer data . how can i do it in vhdl code
check lsb in vhdl
Guest
#3545607
hi all; i want to detect if the lsb is odd or even for integer data . how can i do it in vhdl code You can use the "mod" operator. http://www.csee.umbc.edu/portal/help/VHDL/operator.html
Alternatively you can first convert to unsigned type and then check the lowest bit.
ReplyPlease log in before posting. |