File: force01.v

package info (click to toggle)
gplcver 2.12a-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,604 kB
  • ctags: 9,129
  • sloc: ansic: 126,201; sh: 1,539; makefile: 86; perl: 22
file content (20 lines) | stat: -rw-r--r-- 295 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module test;
 reg a, // = 1'hx, x 
     b, // = 1'hx, x 
     c, // = 1'hx, x 
     d; // = 1'hx, x 
 wire e; // = StX
 and and1(e, a, b, c); 

 initial
  begin
   // $list;
   $monitor("d=%b,e=%b", d, e);
   a = 1;
   b = 0;
   c = 1;
   assign d = a & b & c;
   #10 ;
   $stop;
 end
endmodule