Changeset 116 for sandbox/MultiChannelUSB/deconv.v
- Timestamp:
- Feb 14, 2011, 11:53:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/MultiChannelUSB/deconv.v
r114 r116 10 10 input wire [3*size*16-1:0] tau_data, 11 11 input wire [3*size*width-1:0] inp_data, 12 output wire [3*size*widthr-1:0] out_data, 13 output wire [3*size*width2-1:0] acc_data 12 output wire [3*size*widthr-1:0] out_data 14 13 ); 15 14 … … 102 101 .lpm_type("LPM_ADD_SUB"), 103 102 .lpm_width(width2)) acc_unit_1 ( 104 .dataa({sub_data_reg[0][j*width1+width1-1], {(width2-width1){1'b0}}, sub_data_reg[0][j*width1+width1-2:j*width1]}), 105 // .dataa({width2{1'b0}}), 103 .dataa({{(width2-width1+1){sub_data_reg[0][j*width1+width1-1]}}, sub_data_reg[0][j*width1+width1-2:j*width1]}), 106 104 .datab(acc_data_reg[0][j*width2+width2-1:j*width2]), 107 105 .result(acc_data_wire[j*width2+width2-1:j*width2])); … … 418 416 419 417 assign out_data = {out_data_reg[2], out_data_reg[1], out_data_reg[0]}; 420 assign acc_data = {acc_data_reg[3], acc_data_reg[2], acc_data_reg[1]};421 // assign acc_data = {17'd0, del_addr_wire, 17'd0, del_addr_wire, 17'd0, del_addr_wire};422 418 423 419 endmodule
Note:
See TracChangeset
for help on using the changeset viewer.