Changeset 133 for sandbox/MultiChannelUSB
- Timestamp:
- Feb 26, 2011, 9:10:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/MultiChannelUSB/deconv.v
r130 r133 116 116 .lpm_representation("SIGNED"), 117 117 .lpm_type("LPM_MULT"), 118 .lpm_pipeline( 4),118 .lpm_pipeline(3), 119 119 .lpm_widtha(width1), 120 120 .lpm_widthb(17), … … 130 130 .lpm_representation("UNSIGNED"), 131 131 .lpm_type("LPM_MULT"), 132 .lpm_pipeline( 4),132 .lpm_pipeline(3), 133 133 .lpm_widtha(width2), 134 134 .lpm_widthb(6), … … 336 336 // register 4th sum 337 337 acc_data_next[4] = acc_data_wire; 338 out_data_next[ 3] = out_data_wire;338 out_data_next[0] = out_data_wire; 339 339 end 340 340 end … … 355 355 // register 1st sum 356 356 acc_data_next[1] = acc_data_wire; 357 out_data_next[ 0] = out_data_wire;357 out_data_next[1] = out_data_wire; 358 358 359 359 int_case_next = 3'd4; … … 375 375 // register 2nd sum 376 376 acc_data_next[2] = acc_data_wire; 377 out_data_next[ 1] = out_data_wire;377 out_data_next[2] = out_data_wire; 378 378 379 379 del_addr_next = del_addr_reg + 6'd1; … … 399 399 // register 3rd sum 400 400 acc_data_next[3] = acc_data_wire; 401 out_data_next[ 2] = out_data_wire;401 out_data_next[3] = out_data_wire; 402 402 403 403 // register 4th output 404 out_data_next[4] = out_data_next[ 3];404 out_data_next[4] = out_data_next[0]; 405 405 406 406 int_case_next = 3'd2; … … 413 413 end 414 414 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]}; 416 416 417 417 endmodule
Note:
See TracChangeset
for help on using the changeset viewer.