Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

7 segment question

hi all

im doing a project on vhdl and using cyclone III and part of it is to use the 7 segment display.

i know how to do it the simple way but

is there any component that can be used as a decoder connected to the ssd?

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    im doing a project on vhdl and using cyclone III and part of it is to use the 7 segment display.

    i know how to do it the simple way but

    is there any component that can be used as a decoder connected to the ssd?

    --- Quote End ---

    Here's one for you.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks dude

    but what you have is the way i know, where u do the decoding urself.

    what i mean is a component that when the input is "0000" gives u the output "1000000" and so on.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi there,

    do you think of a hardware component like the 4511 CMOS IC or the 74141?

    (so called BCD to 7-segment decoder)

    The benefit could be, that the I/F between the FPGA and the 7-segment reduces to 4Bits rather 7Bits and the current for the 7-Segment is by the driver IC rather being an I/O current of the FPGA. (But these are all benefits that came to my mind..)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    thanks dude

    but what you have is the way i know, where u do the decoding urself.

    what i mean is a component that when the input is "0000" gives u the output "1000000" and so on.

    --- Quote End ---

    If you have a 4-bit register, or say a Qsys system with a PIO component, and you connect those 4-bits to the hex_display input, and the hex_display output to the 7-segment display, then when you write 0, 1, 2, 3, .. E, F, the display shows the corresponding hex values.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi there,

    do you think of a hardware component like the 4511 CMOS IC or the 74141?

    (so called BCD to 7-segment decoder)

    The benefit could be, that the I/F between the FPGA and the 7-segment reduces to 4Bits rather 7Bits and the current for the 7-Segment is by the driver IC rather being an I/O current of the FPGA. (But these are all benefits that came to my mind..)

    --- Quote End ---

    thanks man, i know the 4511 but im looking for a component within the FPGA like lpm or ff that does the same as 4511.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    If you have a 4-bit register, or say a Qsys system with a PIO component, and you connect those 4-bits to the hex_display input, and the hex_display output to the 7-segment display, then when you write 0, 1, 2, 3, .. E, F, the display shows the corresponding hex values.

    Cheers,

    Dave

    --- Quote End ---

    thanks man, i'll try to do it, it sounds good.