📄 tasks.v2
字号:
entity tasks isend tasks;arhitecture VL2VHDL of tasks issignal p : Bit;signal R : Bit;procedure add(b, a : in bit; c : out bit; );begin R <= 1; if (a = b) then c <= 1 and R; else c <= 0; endif;end add;beginprocess begin add (1,0,p);end process;end VL2VHDL;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -