Skip to content

Commit

Permalink
go back to fanout 3
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulk29 committed Oct 15, 2024
1 parent cb0aa70 commit 4469e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/decoder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct PlanTreeNode {
impl DecoderTree {
pub fn new(bits: usize, cload: f64) -> Self {
let plan = plan_decoder(bits, true, false);
let stages = (cload / INV_MODEL.cin * plan.le_b()).log(4.).ceil() as usize;
let stages = (cload / INV_MODEL.cin * plan.le_b()).log(3.).ceil() as usize;
let depth = plan.min_depth();
println!("target num stages = {stages}, current min num stages = {depth}");
let plan = if stages > depth {
Expand Down

0 comments on commit 4469e80

Please sign in to comment.