Skip to content

Commit

Permalink
Enable shuffling (#26)
Browse files Browse the repository at this point in the history
* Enable shuffling for synth exp

* MICROSOFT AUTOMATED PIPELINE: Stamp 'user/dev/kupadhyayula/enable_shuffling' with updated timestamp and hash after successful run
  • Loading branch information
upadhyayulakiran authored Oct 31, 2024
1 parent 4cf260b commit 861a9b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7a3eb92951b68c97aac175fd0faf18d82ba97c85e5669450c340c4ccba5752f566eee2cfbcd5cc15b632a79a57d2bea7
7e5c23f1bd97ae4ddd574b3b63f21d6fe6c451f6f5e9a26e575da96f48e8ab5fc0035f771571df2d66bd41607eb2e30f
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1730401607
1730405348
14 changes: 7 additions & 7 deletions src/mldsa_top/rtl/mldsa_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -452,11 +452,11 @@ generate
end
MLDSA_NTT: begin
mode[g_inst] = ct;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
MLDSA_INTT: begin
mode[g_inst] = gs;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
MLDSA_PWM_SMPL: begin
mode[g_inst] = pwm;
Expand All @@ -472,23 +472,23 @@ generate
MLDSA_PWM: begin
mode[g_inst] = pwm;
sampler_valid[g_inst] = 1;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
MLDSA_PWM_ACCUM: begin
mode[g_inst] = pwm;
accumulate[g_inst] = 1;
sampler_valid[g_inst] = 1;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
MLDSA_PWA: begin
mode[g_inst] = pwa;
sampler_valid[g_inst] = 1;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
MLDSA_PWS: begin
mode[g_inst] = pws;
sampler_valid[g_inst] = 1;
// shuffle_en[g_inst] = 1;
shuffle_en[g_inst] = 1;
end
default: begin
end
Expand All @@ -513,7 +513,7 @@ generate
.accumulate(accumulate[g_inst]),
.sampler_valid(sampler_valid[g_inst]),
.shuffle_en(shuffle_en[g_inst]),
.random(rand_bits[g_inst*6+5:g_inst*6]),
.random(rand_bits[5:0]),
//NTT mem IF
.mem_wr_req(ntt_mem_wr_req[g_inst]),
.mem_rd_req(ntt_mem_rd_req[g_inst]),
Expand Down

0 comments on commit 861a9b9

Please sign in to comment.