OpenCores
URL https://opencores.org/ocsvn/socgen/socgen/trunk

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [logic/] [ip/] [disp_io/] [sim/] [icarus/] [default/] [test_define] - Blame information for rev 133

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 131 jt_eaton
initial
2
 begin
3
 $display("              ");
4
 $display("          ===================================================");
5
 $display("%t  Test Start",$realtime);
6
 $display("          ===================================================");
7
 $display("              ");
8 133 jt_eaton
 test.R_PosD           = 16'h0000;
9 131 jt_eaton
 test.R_PosL           = 8'b00000000;
10
 test.R_sw_pad_in      = 8'b00000000;
11
 test.R_btn_pad_in     = 4'b0000;
12
 
13
 test.cg.next(8);
14
 test.cg.next(88);
15
 $display("%t   Start xmit test ",$realtime  );
16 133 jt_eaton
fork
17
begin
18 131 jt_eaton
 test.cg.next(1000);
19
 test.R_PosL           = 8'b10101010;
20
 test.R_sw_pad_in      = 8'b10101010;
21
 test.R_btn_pad_in     = 4'b1010;
22
 test.cg.next(1000);
23
 test.R_PosL           = 8'b11111111;
24
 test.R_sw_pad_in      = 8'b11111111;
25
 test.R_btn_pad_in     = 4'b1111;
26
 
27 133 jt_eaton
end
28
 
29
 
30
begin
31 131 jt_eaton
 test.cg.next(1000);
32 133 jt_eaton
 test.R_PosD           = 16'h1234;
33
 test.cg.next(1000);
34
 test.R_PosD           = 16'h5678;
35
 test.cg.next(1000);
36
 test.R_PosD           = 16'h9abc;
37
 test.cg.next(1000);
38
 test.R_PosD           = 16'hdef0;
39 131 jt_eaton
 
40 133 jt_eaton
 
41
 
42
end
43
 
44
 
45
 
46
 
47
join
48
 test.cg.next(1000);
49 131 jt_eaton
 $display("%t   Stop  xmit test ",$realtime  );
50
 test.cg.exit;
51
end
52
 
53
 
54
 
55
 
56
 
57
 
58
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.