Skip to content

Commit 3f29df8

Browse files
committed
Add missing header includes in source files
1 parent 1f15430 commit 3f29df8

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

src/abr_libs/config/compile.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ targets:
77
tb:
88
directories: [$COMPILE_ROOT/rtl]
99
files:
10-
- $COMPILE_ROOT/rtl/abr_sva.svh
11-
- $COMPILE_ROOT/rtl/abr_macros.svh
1210
- $COMPILE_ROOT/rtl/abr_1r1w_ram.sv
1311
- $COMPILE_ROOT/rtl/abr_1r1w_be_ram.sv
1412
- $COMPILE_ROOT/rtl/abr_1r1w_512x4_ram.sv
@@ -40,8 +38,6 @@ targets:
4038
rtl:
4139
directories: [$COMPILE_ROOT/rtl]
4240
files:
43-
- $COMPILE_ROOT/rtl/abr_sva.svh
44-
- $COMPILE_ROOT/rtl/abr_macros.svh
4541
- $COMPILE_ROOT/rtl/abr_1r1w_ram.sv
4642
- $COMPILE_ROOT/rtl/abr_1r1w_be_ram.sv
4743
- $COMPILE_ROOT/rtl/abr_1r1w_512x4_ram.sv

src/abr_libs/rtl/abr_icg.sv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
`include "abr_config_defines.svh"
16+
1517
`ifndef TECH_SPECIFIC_ICG
1618
module `ABR_ICG (
1719
input logic clk,
@@ -31,4 +33,4 @@
3133
assign clk_cg = clk && en_lat;
3234

3335
endmodule
34-
`endif
36+
`endif

src/abr_libs/rtl/abr_piso_multi.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ module abr_piso_multi #(
3535
output logic [PISO_ACT_OUTPUT_RATE-1:0] data_o
3636
);
3737

38+
`include "abr_prim_assert.sv"
39+
3840
localparam BUFFER_W_DELTA = PISO_BUFFER_W - PISO_ACT_INPUT_RATE;
3941

4042
logic [PISO_BUFFER_W-1:0] buffer, buffer_d;

src/abr_sampler_top/rtl/abr_sampler_top.sv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ module abr_sampler_top
5959

6060
);
6161

62-
//Signal Declarations
62+
`include "abr_prim_assert.sv"
63+
64+
//Signal Declarations
6365
logic sha3_process;
6466
logic sha3_run;
6567

src/abr_top/config/compile.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ targets:
55
tb:
66
directories: [$COMPILE_ROOT/rtl]
77
files:
8-
- $COMPILE_ROOT/rtl/abr_config_defines.svh
98
- $COMPILE_ROOT/rtl/abr_params_pkg.sv
109
- $COMPILE_ROOT/rtl/abr_reg_pkg.sv
1110
rtl:
1211
directories: [$COMPILE_ROOT/rtl]
1312
files:
14-
- $COMPILE_ROOT/rtl/abr_config_defines.svh
1513
- $COMPILE_ROOT/rtl/abr_params_pkg.sv
1614
- $COMPILE_ROOT/rtl/abr_reg_pkg.sv
1715
---
@@ -107,4 +105,4 @@ global:
107105
- '-noinherit_timescale=1ns/1ps'
108106
#- '-ucli -i dump.ucli'
109107
#sim:
110-
#- '-ucli -i dump.ucli'
108+
#- '-ucli -i dump.ucli'

src/ntt_top/rtl/ntt_top.sv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ module ntt_top
9393
output logic ntt_done
9494

9595
);
96+
`include "abr_prim_assert.sv"
97+
9698
//NTT mem signals
9799
//Masking internal - TODO: remove and merge with mem_wr/rd interface after testing
98100
mem_if_t share_mem_wr_req, share_mem_rd_req, share_mem_rd_req_reg;

src/sk_encode/rtl/skencode.sv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ module skencode
5858
output logic skencode_done
5959
);
6060

61+
`include "abr_prim_assert.sv"
62+
6163
localparam THE_LAST_ADDR = ((MLDSA_K * MLDSA_N)/4)+((MLDSA_L * MLDSA_N)/4)-1;
6264
localparam THE_LAST_API = ((MLDSA_K +MLDSA_L)*MLDSA_N*3)/32;
6365

@@ -350,4 +352,4 @@ module skencode
350352

351353
`ABR_ASSERT_NEVER(SKENCODE_ERROR_FLAG, error_flag, clk, !reset_n)
352354

353-
endmodule
355+
endmodule

0 commit comments

Comments
 (0)