Verilog format

This commit is contained in:
Veripool API Bot
2026-03-03 07:21:24 -05:00
committed by Wilson Snyder
parent 5821d0697c
commit ce4d35aa85
340 changed files with 7037 additions and 6797 deletions
+14 -18
View File
@@ -5,28 +5,24 @@
// SPDX-License-Identifier: CC0-1.0
package Pkg;
typedef enum {
RED=0,
GREEN=1,
BLUE=2
} color_t;
typedef enum {
RED = 0,
GREEN = 1,
BLUE = 2
} color_t;
typedef struct {
color_t pixels[32];
} line_t;
typedef struct {color_t pixels[32];} line_t;
typedef struct {
line_t line[32];
} screen_t;
typedef struct {line_t line[32];} screen_t;
endpackage
module t;
Pkg::screen_t screen;
Pkg::screen_t screen;
initial begin
screen = '{ default: '0, Pkg::color_t: Pkg::RED};
$display("%p", screen);
$write("*-* All Finished *-*\n");
$finish;
end
initial begin
screen = '{default: '0, Pkg::color_t: Pkg::RED};
$display("%p", screen);
$write("*-* All Finished *-*\n");
$finish;
end
endmodule