File tree Expand file tree Collapse file tree 1 file changed +26
-4
lines changed
Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,39 @@ module serializer_10to1_tb();
2626 rst <= 0 ;
2727 clk_lock <= 0 ;
2828
29- #2
30- rst <= 1 ; // assert async
29+ #1 . 5
30+ rst <= 1 ; // assert reset async
3131
32- #18
32+ #18 . 5
3333 rst <= 0 ;
3434
3535 #20
36- clk_lock <= 1 ;
36+ clk_lock <= 1 ;
3737 tmds_data_1 <= 10'b0110100110 ;
3838 tmds_data_2 <= 10'b1001011001 ;
3939 tmds_data_3 <= 10'b1100000010 ;
40+
41+ #100
42+ tmds_data_1 <= 10'b1111111111 ;
43+ tmds_data_2 <= 10'b1010101010 ;
44+ tmds_data_3 <= 10'b0000000000 ;
45+
46+ #2
47+ clk_lock <= 0 ; // simulate loss of clock lock
48+
49+ #23
50+ clk_lock <= 1 ;
51+
52+ #125
53+ tmds_data_1 <= 10'b0110100110 ;
54+ tmds_data_2 <= 10'b1001011001 ;
55+ tmds_data_3 <= 10'b1100000010 ;
56+
57+ #101 .25
58+ rst <= 1 ; // assert reset async
59+
60+ #11 .5
61+ rst <= 0 ; // de-assert reset async
4062 end
4163
4264 serializer_10to1 serialize_data_1 (
You can’t perform that action at this time.
0 commit comments