Difference between revisions of "IOP16 Seven Segment Displays"

From Land Boards Wiki
Jump to navigation Jump to search
(Created page with "== Seven Segment Displays == * Three versions ** 3 digits ** 4 digits ** 8 digits == Resources (EP4CE15) == === 3 digits Seven Segment Display === * Logic Cells: 43 * Regi...")
 
 
Line 13: Line 13:
 
* Registers: 20
 
* Registers: 20
 
* Memory Bits: 0
 
* Memory Bits: 0
 +
 +
== Entities ==
 +
 +
=== 3-Digit Seven Segment Display ===
 +
 +
<pre>
 +
-- ____________________________________________________________________________________
 +
-- Seven Segment, 3 digits
 +
sevSeg : entity work.Loadable_7SD_3LED
 +
  Port map (
 +
    i_clock_50Mhz      => i_clock,            -- 50 MHZ clock
 +
    i_reset            => not w_resetClean_n, -- i_reset - active high
 +
    i_displayed_number => w_SevenSegData,    -- 3 digits
 +
    o_Anode_Activate  => o_Scan_Sig,        -- 3 Anode signals
 +
    o_LED_out          => o_SMG_Data          -- Cathode patterns of 7-segment display
 +
);
 +
</pre>

Latest revision as of 17:08, 10 April 2022

Seven Segment Displays

  • Three versions
    • 3 digits
    • 4 digits
    • 8 digits

Resources (EP4CE15)

3 digits Seven Segment Display

  • Logic Cells: 43
  • Registers: 20
  • Memory Bits: 0

Entities

3-Digit Seven Segment Display

-- ____________________________________________________________________________________
-- Seven Segment, 3 digits
sevSeg : entity work.Loadable_7SD_3LED
  Port map ( 
    i_clock_50Mhz      => i_clock,            -- 50 MHZ clock
    i_reset            => not w_resetClean_n, -- i_reset - active high
    i_displayed_number => w_SevenSegData,     -- 3 digits
    o_Anode_Activate   => o_Scan_Sig,         -- 3 Anode signals
    o_LED_out          => o_SMG_Data          -- Cathode patterns of 7-segment display
);