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

📄 control3.tdf

📁 ProtelDXp 实现计算器功能
💻 TDF
字号:
subdesign  control3
(
   outcode[3..0]:input;
   add,sub,mul,dic:output;
)
begin
if    outcode[]==B"1010" then
      add=Vcc;
elsif outcode[]==B"1011" then
      sub=Vcc;
elsif outcode[]==B"1100" then
      mul=Vcc;
elsif outcode[]==B"1101" then
      dic=Vcc;
else 
      add=gnd;
      sub=gnd;
      mul=gnd;
      dic=gnd;
end if;
end;

⌨️ 快捷键说明

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