ex_p4_23_cond_examplw.vhd

来自「This is the course for VHDL programming」· VHDL 代码 · 共 15 行

VHD
15
字号
entity try isend try;architecture DATAFLOW of try issignal a, b: bit;signal c: bit_vector(1 downto 0);begin		a <= '1' after 10 ns,'0' after 30 ns;		b <= '1' after 20 ns,'0' after 40 ns, '1' after 50 ns;		c <= 	"01" when (a = '1')else			"10" when (a and b)= '1' else			"11" when (b = '0') else			"00";end DATAFLOW;

⌨️ 快捷键说明

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