⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 in_out.tdf

📁 简单的CPU设计数字系统实验
💻 TDF
字号:
SUBDESIGN in_out
(dr1,dr0,enable:input;
 in,out :output;
 halt:output;)
begin
  if ((enable==1)and(dr1==1) and (dr0==0)) then (in,out,halt)=(B"0",B"1",B"0");
  end if;
  if ((enable==1)and(dr1==0) and (dr0==1)) then (in,out,halt)=(B"1",B"0",B"0");
  end if;
  if ((enable==1)and(dr1==dr0)) then (in,out,halt)=(B"0",B"0",B"1");
  end if;
end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -