greenswitch.tdf
来自「这个是个模拟红灯实验的」· TDF 代码 · 共 25 行
TDF
25 行
SUBDESIGN greenswitch
(
maingreen: INPUT;
tringle : INPUT;
clk : INPUT;
greenout : OUTPUT;
)
BEGIN
if tringle then
if clk then greenout=vcc;
else greenout=gnd;
end if;
else
if maingreen then greenout=vcc;
else greenout=gnd;
end if;
end if;
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?