File: t_preproc_kwd.v

package info (click to toggle)
verilator 3.833-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,196 kB
  • sloc: cpp: 49,566; perl: 7,111; yacc: 2,221; lex: 1,702; makefile: 651; sh: 175
file content (60 lines) | stat: -rw-r--r-- 972 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2007 by Wilson Snyder.

module t (/*AUTOARG*/
   // Inputs
   clk
   );
   input clk;

   s1 s1 ();
   s2 s2 ();
   s3 s3 ();
   s4 s4 ();
   s5 s5 ();
   s6 s6 ();

   initial begin
      $finish;
   end
endmodule

`begin_keywords "1364-1995"
module s1;
  integer signed; initial signed = 1;
endmodule
`end_keywords

`begin_keywords "1364-2001"
module s2;
  integer bit; initial bit = 1;
endmodule
`end_keywords

`begin_keywords "1364-2005"
module s3;
  integer final; initial final = 1;
endmodule
`end_keywords

`begin_keywords "1800-2005"
module s4;
  integer global; initial global = 1;
endmodule
`end_keywords

`begin_keywords "1800-2009"
module s5;
 final begin
    $write("*-* All Finished *-*\n");
 end
endmodule
`end_keywords

`begin_keywords "VAMS-2.3"
module s6;
   real foo; initial foo = sqrt(2.0);
endmodule
`end_keywords