
Step 1 – Create a New Project
ProASIC3/E Starter Kit User’s Guide and Tutorial
39
To add HDL to your project:
1.
From the
File
menu, click
New
. This opens the New dialog box, as shown in
.
Figure 7-8. New File Dialog Box
2.
Select
VHDL Entity
in the File Type field, enter
count8
in the
Name
field, and click
OK
. The HDL Editor opens.
Enter the following VHDL file, or if this document is open in an electronic form, copy and paste it from here.
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
entity count8 is
port(Clock : in std_logic;
Q : out std_logic_vector(7 downto 0);
Updown : in std_logic;
Aclr : in std_logic;
Sload : in std_logic;
Data : in std_logic_vector(7 downto 0));
end count8;
architecture behavioral of count8 is
signal Qaux : UNSIGNED(7 downto 0);
begin
process(Clock, Aclr)
begin
if (Aclr = '1') then
Qaux <= (others => '0');
Содержание ProASIC3/E
Страница 1: ...ProASIC3 E Starter Kit User s Guide and Tutorial...
Страница 6: ......
Страница 8: ......
Страница 24: ......
Страница 28: ......
Страница 34: ......
Страница 66: ......
Страница 70: ......
Страница 80: ......
Страница 82: ...82 ProASIC3 E Starter Kit User s Guide and Tutorial Figure B 1 Top Level View of ProASIC3 E Evaluation Board...
Страница 94: ...94 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 1 Layer 1 Top Signal Layer...
Страница 95: ...ProASIC3 E Starter Kit User s Guide and Tutorial 95 Figure C 2 Layer 2 Ground Plane Blank...
Страница 96: ...96 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 3 Layer 3 Signal 3 LVDS Receive Layer...
Страница 97: ...ProASIC3 E Starter Kit User s Guide and Tutorial 97 Figure C 4 Layer 4 LVDS Transmit Layer...
Страница 98: ...98 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 5 Layer 5 Power Plane Blank...
Страница 99: ...ProASIC3 E Starter Kit User s Guide and Tutorial 99 Figure C 6 Layer 6 Bottom...
Страница 100: ...100 ProASIC3 E Starter Kit User s Guide and Tutorial Figure C 7 Layer 6 Bottom Viewed from Bottom...
Страница 105: ......