|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
dsp的int0#输送给TL16C550的int,a04与该芯片的cs2#相连,当int0#为低电平和a04为高电平或cs2#为低电平时,该芯片被选通。用下面的程序是否可行?
nuart_int <= nint0 ;
nuart <= not a04;
process(nint0,a04,nis,niostrb,rw)
begin
if (nint0 = '0' and a04 ='1')then
nwr1 <= not(nis and niostrb and (not rw)) ;
nrd1 <= not(nis and niostrb and rw );
end if;
end process; |
|