Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to create a Binary-to-BCD converter
How would I begin to create a Binary to BCD converter and write to code for it. Here is what I have to do. Design a logic circuit in AHDL that will convert a 5-bit binary input bin[4..0] into its eq...
Altera_Forum
Honored Contributor
16 years agoDesign a logic circuit that, when enabled with an active-high signal name en, will detect four different ranges of values for a 5-bit input number. the inputs are labled num4 through num0 and the outputs are labled range1 through range4. Range1, range2, and range3 each produce active-high outputs, while range4 produces an active-low out-put signal. Write Boolean expressions for each of the outputs. Hint: Use the greater-than-or-equal-to (>=) and less-than-or-equal-to(<=) symbols in the Boolean expression to detect the desired range of input value for each output
outputs values detected range 1 4-12 range 2 15-20 range 3 18-24 range 4 26-30