EmbDev.net

Forum: FPGA, VHDL & Verilog 6-bit binary to BCD HELP


Author: Paulo Henrique Silva (Guest)
Posted on:

Rate this post
0 useful
not useful
Good day.
I need help to make the code in VHDL of a converter 6 binary bits to two 
7-segment displays. I need to convert binary to BCD first, but I can not 
do that. The code model is here on this page: 
http://www.tkt.cs.tut.fi/kurssit/1426/S12/Ex/ex4/B...
If anyone can help me, I thank you.

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Paulo Henrique Silva wrote:
> If anyone can help me, I thank you.
Isn't it YOU who should start with some piece of work. No one here is 
intended to do YOUR homework completely...

> The code model is here
Look there (its German, try Google translate):
http://www.lothar-miller.de/s9y/archives/P13.html
http://www.lothar-miller.de/s9y/categories/44-BCD-Umwandlung

: Edited by Moderator
Author: Christoph Kessler (db1uq) (christoph_kessler)
Posted on:

Rate this post
0 useful
not useful
http://www.electro-tech-online.com/attachments/aae...
the old fashioned way with a lot of 74xx185 (6 bit bin to bcd converter)

Author: Vipin Lal (lal87)
Posted on:

Rate this post
0 useful
not useful
There is a code here for 8 bit binary to BCD. Change it a bit, to make 
it 6 bit.
http://vhdlguru.blogspot.in/2010/04/8-bit-binary-t...

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.