Revision 1,
398 bytes
checked in by ttvmrc00, 14 years ago
(diff) |
upload iniziale
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | module test_benchCW; |
---|
2 | reg in1,in2,fault1,fault0; |
---|
3 | wire out1, out2; |
---|
4 | |
---|
5 | |
---|
6 | Crosswire CW ( |
---|
7 | .in1 (in1), |
---|
8 | .in2 (in2), |
---|
9 | .out1 (out1), |
---|
10 | .out2 (out2), |
---|
11 | .fault1(fault1), |
---|
12 | .fault0(fault0) |
---|
13 | ); |
---|
14 | initial |
---|
15 | begin |
---|
16 | in1 = 0; |
---|
17 | in2 = 0; |
---|
18 | fault1 = 0; |
---|
19 | fault0 = 0; |
---|
20 | end |
---|
21 | always |
---|
22 | #5 in1 = !in1; |
---|
23 | always |
---|
24 | #10 in2 = !in2; |
---|
25 | always |
---|
26 | #20 fault1 = !fault1; |
---|
27 | always |
---|
28 | #40 fault0 = !fault0; |
---|
29 | |
---|
30 | endmodule |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.