You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>To use this language, use the class "language-verilog". Note that this package supports syntax highlighting for both Verilog and System Verilog.</p>
3
+
4
+
<h2>Comments</h2>
5
+
<pre><code>/* Multiline comments in Verilog
6
+
look like C comments and // is OK in here. */
7
+
// Single-line comment in Verilog.</code></pre>
8
+
9
+
<h2>Literals</h2>
10
+
<pre><code>// example code from: http://iroi.seu.edu.cn/books/asics/Book2/CH11/CH11.02.htm
11
+
module declarations;
12
+
parameter H12_UNSIZED = 'h 12;
13
+
parameter H12_SIZED = 6'h 12;
14
+
parameter D42 = 8'B0010_1010;
15
+
parameter D123 = 123;
16
+
parameter D63 = 8'o 77;
17
+
parameter A = 'h x, B = 'o x, C = 8'b x, D = 'h z, E = 16'h ????;
0 commit comments