Changeset 133


Ignore:
Timestamp:
Feb 26, 2011, 9:10:59 AM (14 years ago)
Author:
demin
Message:

reduce multiplier latency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/MultiChannelUSB/deconv.v

    r130 r133  
    116116                                .lpm_representation("SIGNED"),
    117117                                .lpm_type("LPM_MULT"),
    118                                 .lpm_pipeline(4),
     118                                .lpm_pipeline(3),
    119119                                .lpm_widtha(width1),
    120120                                .lpm_widthb(17),
     
    130130                                .lpm_representation("UNSIGNED"),
    131131                                .lpm_type("LPM_MULT"),
    132                                 .lpm_pipeline(4),
     132                                .lpm_pipeline(3),
    133133                                .lpm_widtha(width2),
    134134                                .lpm_widthb(6),
     
    336336                                        // register 4th sum
    337337                                        acc_data_next[4] = acc_data_wire;
    338                                         out_data_next[3] = out_data_wire;
     338                                        out_data_next[0] = out_data_wire;
    339339                                end
    340340                        end
     
    355355                                // register 1st sum
    356356                                acc_data_next[1] = acc_data_wire;
    357                                 out_data_next[0] = out_data_wire;
     357                                out_data_next[1] = out_data_wire;
    358358
    359359                                int_case_next = 3'd4;
     
    375375                                // register 2nd sum
    376376                                acc_data_next[2] = acc_data_wire;
    377                                 out_data_next[1] = out_data_wire;
     377                                out_data_next[2] = out_data_wire;
    378378                               
    379379                                del_addr_next = del_addr_reg + 6'd1;
     
    399399                                // register 3rd sum
    400400                                acc_data_next[3] = acc_data_wire;
    401                                 out_data_next[2] = out_data_wire;
     401                                out_data_next[3] = out_data_wire;
    402402                                             
    403403                                // register 4th output
    404                                 out_data_next[4] = out_data_next[3];
     404                                out_data_next[4] = out_data_next[0];
    405405
    406406                                int_case_next = 3'd2;
     
    413413        end
    414414
    415         assign out_data = {out_data_next[4], out_data_reg[2], out_data_reg[1], out_data_reg[0]};
     415        assign out_data = {out_data_next[3], out_data_reg[2], out_data_reg[1], out_data_reg[4]};
    416416
    417417endmodule
Note: See TracChangeset for help on using the changeset viewer.