Skip to content

Commit 6b722f3

Browse files
committed
minor int fedp fix
1 parent 20d56ae commit 6b722f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hw/rtl/tcu/drl/VX_tcu_fedp_drl.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ module VX_tcu_fedp_drl #(
155155
) pipe_aln_gated (
156156
.clk (clk),
157157
.reset (reset),
158-
.enable (enable & pipe_aln_sparse_mask[i]),
158+
.enable (enable & aln_sparse_mask[i]),
159159
.data_in (aln_sigs[i]),
160160
.data_out (pipe_aln_sigs[i])
161161
);

hw/unittest/tcu_fedp/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,7 @@ TestConfig parse_args(int argc, char **argv) {
895895

896896
if (config_.fmt_s >= 8) {
897897
// Integer formats
898+
config_.fmt_d = 8;
898899
if (config_.exp_bits != 0 || config_.sig_bits != 0) {
899900
std::cerr << "Error: Exponent and significand bits should not be set for integer formats" << std::endl;
900901
exit(1);

0 commit comments

Comments
 (0)