- UID
- 73811
- 性别
- 男
|
怎么把VHDL程序下载到片上呢,我用的是实验教学仪,但是DEVICE中没有芯片的名称。
还有,我照着实验书上的程序,可是编译时总是说不能打开VHDL的 WORK,怎么回事呢?我很困惑。
程序如下:
library IEEE;
use IEEEE.std_logic_1164.all;
entity exp1hdl is
port( K7,K8: in std_logic; OUT20,OUT21,OUT22,OUT23,OUT24: out std_logic;)
end exp1hdl;
architecture exp1hdl_arch of exp1hdl is
begin
OUT20<=K7;
OUT21<=not K7;
OUT22<=K8 AND K7;
OUT23<=K8 OR K7;
OUT24<=K8 XOR K7;
end exp1hdl_arch ; |
|