Changeset 166
- Timestamp:
- Feb 23, 2012, 12:05:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/Paella.v
r162 r166 205 205 begin : MUX_DATA 206 206 assign int_mux_data[j] = { 207 {4'd0, amp_flag[0+ 2*j][0], 7'd0},208 amp_data[0+ 2*j],207 {4'd0, amp_flag[0+j][0], 7'd0}, 208 amp_data[0+j], 209 209 clp_data[j], 210 210 sys_data[j]}; … … 401 401 .clock(sys_clock), 402 402 .frame(sys_frame), 403 .reset(cfg_bits[0][ 5]),404 .hst_good((amp_mux_flag[ 0][0]) & (cnt_good[1]) & (cfg_bits[14][1])),405 .hst_data(amp_mux_data[ 0]),403 .reset(cfg_bits[0][6]), 404 .hst_good((amp_mux_flag[1][0]) & (cnt_good[1]) & (cfg_bits[14][1])), 405 .hst_data(amp_mux_data[1]), 406 406 .bus_ssel(bus_ssel[3]), 407 407 .bus_wren(bus_wren), … … 413 413 counter hst_counter_unit_2 ( 414 414 .clock(sys_clock), 415 .frame((sys_frame) & (~amp_mux_flag[ 0][1])),415 .frame((sys_frame) & (~amp_mux_flag[1][1])), 416 416 // .frame(sys_frame), 417 417 .reset(cfg_bits[0][8]), … … 431 431 .reset(cfg_bits[0][11]), 432 432 .hst_good((cnt_good[3]) & (~cnt_good[2])), 433 .hst_data(cnt_bits_wire ),433 .hst_data(cnt_bits_wire < 16'd9999 ? cnt_bits_wire[13:0] : 14'd9999), 434 434 .bus_ssel(bus_ssel[8]), 435 435 .bus_wren(bus_wren), … … 441 441 counter rmt_counter_1 ( 442 442 .clock(sys_clock), 443 .frame((sys_frame) & (~amp_mux_flag[ 1][1])),443 .frame((sys_frame) & (~amp_mux_flag[2][1])), 444 444 // .frame(sys_frame), 445 445 .reset(cfg_bits[0][12]), … … 475 475 .sclr(((sys_frame) & (cnt_good[3]) & (~cnt_good[2])) | (cfg_bits[0][11])), 476 476 .clock(sys_clock), 477 .cnt_en((sys_frame) & (amp_mux_flag[ 1][0]) & (cnt_good[2]) & (cnt_good[3]) & (cfg_bits[16][1])),477 .cnt_en((sys_frame) & (amp_mux_flag[2][0]) & (cnt_good[2]) & (cnt_good[3]) & (cfg_bits[16][1])), 478 478 .q(cnt_bits_wire)); 479 479
Note:
See TracChangeset
for help on using the changeset viewer.