Altera DE2-70 Dokumentacja Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 35
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 21
22
The VHDL code produced by the SOPC is quite large. The portion of code that defines port
signals for entity nios_system is shown as:
entity nios_system is
port(
--1) global signals
signal clk : IN STD_LOGIC;
signal reset_n : IN STD_LOGIC;
--2) LEDs
signal out_port_from _the_LEDs : OUT STD_LOGIC_VECTOR(7 DOWN TO 0);
signal in_from_the_switches : IN STD_LOGIC_VECTOR(7 DOWN TO 0);
);
end entity nios_system;
The 8-bit vector that is the input to the parallel port Switches is called in_port_to_the_Switches.
The 8-bit output vector is called out_port_from_the_LEDs. The clock and reset signals are
called clk and reset_n, respectively. The reset signal is added automatically by the SOPC
Builder; it is called reset_n because it is active low.
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 34 35

Komentarze do niniejszej Instrukcji

Brak uwag