File: aspike1.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 (17 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module test;
reg in;
wire w1,w2,out;

buf #(1,2) (w1,in);
not #(3,4) (w2,w1);

bufif1 #(5,6) (out,w2,in);

initial begin
 $monitor($stime,, "out=%b,in=%b,w1=%b,w2=%b", out, in, w1, w2);
 #0 in=1'b0;	
 #100 in=1'b1;	
 #100 in=1'bx;	
 #100 in=1'bz;	
end
endmodule