Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] converting binary to BCD

Status
Not open for further replies.

bhan1992

Member level 1
Member level 1
Joined
Feb 25, 2012
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,511
can anyone share me code that converts an 8-bit binary to BCD.
im using the Altera Quarus II compiler and programming into the Altera DE2 board.

my intention is to convert output of a counter (8-bits) into BCD and then display it on the 7-segment.
both the counter and BCD-to-7 segment is done but the binary to BCD part is stopping me from completing my project.
plz help and thank you in advance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top