dzxs.vht

来自「vhdl语言实现的16乘16的点阵显示设计代码」· VHT 代码 · 共 2,233 行 · 第 1/4 页

VHT
2,233
字号
	t_sig_o1_expected(13) <= '0';
	WAIT FOR 120000 ps;
	FOR i IN 1 TO 2
	LOOP
		t_sig_o1_expected(13) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(13) <= '0';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(13) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(13) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(13) <= '1';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(13) <= '0';
	WAIT FOR 60000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(13) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(13) <= '0';
		WAIT FOR 180000 ps;
		t_sig_o1_expected(13) <= '1';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(13) <= '0';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(13) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(13) <= '0';
WAIT;
END PROCESS t_prcs_hang_13;
-- expected hang[12]
t_prcs_hang_12: PROCESS
BEGIN
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 10000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 120000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 60000 ps;
	END LOOP;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 60000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 200000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 200000 ps;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 180000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 300000 ps;
	END LOOP;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 260000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 120000 ps;
	END LOOP;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 80000 ps;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(12) <= '0';
	WAIT FOR 140000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(12) <= '1';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(12) <= '0';
		WAIT FOR 120000 ps;
	END LOOP;
	t_sig_o1_expected(12) <= '1';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(12) <= '0';
WAIT;
END PROCESS t_prcs_hang_12;
-- expected hang[11]
t_prcs_hang_11: PROCESS
BEGIN
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 10000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 120000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 60000 ps;
	END LOOP;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 60000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 160000 ps;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 180000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 300000 ps;
	END LOOP;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(11) <= '0';
	WAIT FOR 280000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 140000 ps;
	END LOOP;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(11) <= '1';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(11) <= '0';
		WAIT FOR 120000 ps;
	END LOOP;
	t_sig_o1_expected(11) <= '1';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(11) <= '0';
WAIT;
END PROCESS t_prcs_hang_11;
-- expected hang[10]
t_prcs_hang_10: PROCESS
BEGIN
	t_sig_o1_expected(10) <= '0';
	WAIT FOR 30000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 80000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 100000 ps;
	END LOOP;
	t_sig_o1_expected(10) <= '1';
	WAIT FOR 40000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 100000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 20000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(10) <= '0';
	WAIT FOR 180000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(10) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(10) <= '0';
		WAIT FOR 160000 ps;
	END LOOP;
	t_sig_o1_expected(10) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(10) <= '0';
WAIT;
END PROCESS t_prcs_hang_10;
-- expected hang[9]
t_prcs_hang_9: PROCESS
BEGIN
	t_sig_o1_expected(9) <= '0';
	WAIT FOR 30000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 80000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 100000 ps;
	END LOOP;
	t_sig_o1_expected(9) <= '1';
	WAIT FOR 40000 ps;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 100000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 20000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 160000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 40000 ps;
	END LOOP;
	t_sig_o1_expected(9) <= '0';
	WAIT FOR 180000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(9) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(9) <= '0';
		WAIT FOR 160000 ps;
	END LOOP;
	t_sig_o1_expected(9) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(9) <= '0';
WAIT;
END PROCESS t_prcs_hang_9;
-- expected hang[8]
t_prcs_hang_8: PROCESS
BEGIN
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 30000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 140000 ps;
	END LOOP;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 160000 ps;
	FOR i IN 1 TO 6250
	LOOP
		FOR i IN 1 TO 2
		LOOP
			t_sig_o1_expected(8) <= '1';
			WAIT FOR 20000 ps;
			t_sig_o1_expected(8) <= '0';
			WAIT FOR 60000 ps;
		END LOOP;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 120000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 100000 ps;
	END LOOP;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 60000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 80000 ps;
	END LOOP;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 80000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(8) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(8) <= '0';
		WAIT FOR 140000 ps;
	END LOOP;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(8) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(8) <= '0';
WAIT;
END PROCESS t_prcs_hang_8;
-- expected hang[7]
t_prcs_hang_7: PROCESS
BEGIN
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 30000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 140000 ps;
	END LOOP;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 160000 ps;
	FOR i IN 1 TO 6250
	LOOP
		FOR i IN 1 TO 2
		LOOP
			t_sig_o1_expected(7) <= '1';
			WAIT FOR 20000 ps;
			t_sig_o1_expected(7) <= '0';
			WAIT FOR 60000 ps;
		END LOOP;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 120000 ps;
	END LOOP;
	FOR i IN 1 TO 6250
	LOOP
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 100000 ps;
	END LOOP;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 60000 ps;
	FOR i IN 1 TO 6249
	LOOP
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 60000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 20000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 40000 ps;
		t_sig_o1_expected(7) <= '0';
		WAIT FOR 80000 ps;
		t_sig_o1_expected(7) <= '1';
		WAIT FOR 80000 ps;
	END LOOP;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 60000 ps;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 20000 ps;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(7) <= '1';
	WAIT FOR 40000 ps;
	t_sig_o1_expected(7) <= '0';
	WAIT FOR 80000 ps;
	FOR i IN 1 TO 6249
	LOOP

⌨️ 快捷键说明

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