程序下载成功了,但是引脚完全不受程序控制,是怎么回事。
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
en
tity ce is
port (
FPGA_io0 : out std_logic;
fpga_io1 : out std_logic;
fpga_io2 : out std_logic;
fpga_io3 : out std_logic;
fpga_io4 : out std_logic;
fpga_io5 : out std_logic;
fpga_io6 : out std_logic;
fpga_io7 : out std_logic
);
end ce;
architecture Behavioral of ce is
begin
p1:process
begin
fpga_io0 <= '0';
fpga_io1 <= '0';
fpga_io2 <= '0';
fpga_io3 <= '0';
fpga_io4 <= '0';
fpga_io5 <= '0';
fpga_io6 <= '0';
fpga_io7 <= '0';
end process p1;
end Behavioral;
ucf文件:
NET "fpga_io0" LOC = P40;
NET "fpga_io1" LOC = P41;
NET "fpga_io2" LOC = P43;
NET "fpga_io3" LOC = P44;
NET "fpga_io4" LOC = P45;
NET "fpga_io5" LOC = P46;
NET "fpga_io6" LOC = P47;
NET "fpga_io7" LOC = P48;
求大佬帮忙
一周热门 更多>