-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVerilog.htm
55 lines (52 loc) · 2.21 KB
/
Verilog.htm
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
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="Namdak Tonpa" />
<title>Verilog</title>
<link rel="stylesheet" href="https://n2o.dev/blank.css" />
<link rel="stylesheet" href="https://tonpa.guru/journal.css" />
</head>
<body>
<nav>
<a href='index.html'>Languages</a>
<a href='#'>Verilog</a>
</nav>
<main>
<article>
<section>
<h3>INTRO</h3>
<p></p>
<h3>GRAMMAR</h3>
<figure><code style="font-size:8pt;">
library_text ::= { library_description }
library_description ::= library_declaration | include_statement | config_declaration
library_declaration ::= "library" library_identifier file_path_spec [ { , file_path_spec } ]
[ "-incdir" file_path_spec { , file_path_spec } ] ;
include_statement ::= "include" file_path_spec ;
source_text ::= { description }
description ::= module_declaration | udp_declaration | config_declaration
module_declaration ::= { attribute_instance } module_keyword module_identifier
[ module_parameter_port_list ] list_of_ports ; { module_item } "endmodule"
| { attribute_instance } module_keyword module_identifier
[ module_parameter_port_list ] [ list_of_port_declarations ] ;
{ non_port_module_item } "endmodule"
module_keyword ::= module | macromodule
module_parameter_port_list ::= #( parameter_declaration { , parameter_declaration } )
list_of_ports ::= ( port { , port } )
list_of_port_declarations ::=( port_declaration { , port_declaration } ) | ()
port ::= [ port_expression ] | . port_identifier ( [ port_expression ] )
port_expression ::= port_reference | { port_reference { , port_reference } }
port_reference ::= port_identifier [ [ constant_range_expression ] ]
port_declaration ::= { attribute_instance } inout_declaration |
{ attribute_instance } input_declaration |
{ attribute_instance } output_declaration
</code></figure>
</section>
</article>
</main>
<footer>CCC <span class="heart"> ❤ </span> SMC</footer>
</body>
</html>