diff options
| author | uvok | 2026-01-02 12:21:06 +0100 |
|---|---|---|
| committer | uvok | 2026-01-02 12:21:06 +0100 |
| commit | 6c109081ba11c1ef4b33ed922cbd447b6fe96b29 (patch) | |
| tree | b7fd93c3dbf3d9133e0c5a9229bf0895d14b8d55 /nandgame/alu.sv | |
| parent | 50869d8d28aaa53571d1ffd81697e09e95a4d83f (diff) | |
Fix verilator multi-module warning
Diffstat (limited to 'nandgame/alu.sv')
| -rw-r--r-- | nandgame/alu.sv | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nandgame/alu.sv b/nandgame/alu.sv index 0e273f9..6aef925 100644 --- a/nandgame/alu.sv +++ b/nandgame/alu.sv @@ -6,6 +6,9 @@ `include "arith_unit.sv" `include "logic_unit.sv" +`ifndef NANDGAME_ALU +`define NANDGAME_ALU + module alu #( parameter DATA_WIDTH = 16 ) ( @@ -46,3 +49,5 @@ assign RES = u ? MyResA : MyResL; endmodule + +`endif |
