Changeset 70 for trunk/MultiChannelUSB
- Timestamp:
- Nov 23, 2009, 12:50:41 PM (15 years ago)
- Location:
- trunk/MultiChannelUSB
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/Paella.v
r68 r70 149 149 assign adc_clk[0] = ADC_FCO; 150 150 assign adc_clk[1] = ADC_FCO; 151 assign adc_clk[2] = ADC_FCO;151 // assign adc_clk[2] = ADC_FCO; 152 152 153 153 assign adc_clk[3] = ADC_FCO; … … 171 171 .c0(adc_pll_clk)); 172 172 */ 173 /* 173 174 174 wire tst_adc_clk; 175 175 wire [11:0] tst_adc_data; … … 180 180 .tst_data(tst_adc_data)); 181 181 182 assign adc_clk[ 3] = tst_adc_clk;183 assign adc_data[ 3] = tst_adc_data;184 */ 182 assign adc_clk[2] = tst_adc_clk; 183 assign adc_data[2] = tst_adc_data; 184 185 185 /* 186 186 altserial_flash_loader #( … … 196 196 .sdoin()); 197 197 */ 198 198 /* 199 199 adc_lvds #( 200 200 .size(3), … … 207 207 adc_data[1], 208 208 adc_data[2] })); 209 209 */ 210 210 genvar i; 211 211 generate … … 287 287 hst_reset[mux_chan] = mux_reset; 288 288 hst_addr[mux_chan] = mux_addr[11:0]; 289 mux_max_byte = 2'd 2;289 mux_max_byte = 2'd3; 290 290 mux_min_addr = 16'd0; 291 mux_max_addr = 16'd409 6;291 mux_max_addr = 16'd4095; 292 292 end 293 293 endcase … … 320 320 .data(i2c_data), 321 321 .full(i2c_full), 322 /* 323 normal connection 322 324 .i2c_sda(I2C_SDA), 323 .i2c_scl(I2C_SCL)); 325 .i2c_scl(I2C_SCL), 326 327 following is a cross wire connection for EPT 328 */ 329 .i2c_sda(I2C_SCL), 330 .i2c_scl(I2C_SDA)); 324 331 325 332 control control_unit ( -
trunk/MultiChannelUSB/histogram.v
r67 r70 20 20 21 21 assign addr_wire = (flag_reg) ? data : addr_reg; 22 assign data_wire = (flag_reg) ? (q_a_wire + 24'd1) : data_reg;22 assign data_wire = (flag_reg) ? (q_a_wire + 32'd1) : data_reg; 23 23 24 24 altsyncram #( … … 79 79 wren_reg <= 1'b1; 80 80 addr_reg <= 12'd0; 81 data_reg <= 24'd0;81 data_reg <= 32'd0; 82 82 state_reg <= 4'b1; 83 83 end … … 106 106 wren_next = 1'b0; 107 107 addr_next = 12'd0; 108 data_next = 24'd0;108 data_next = 32'd0; 109 109 state_next = 4'd0; 110 110 end … … 153 153 wren_next = 1'b0; 154 154 addr_next = 12'd0; 155 data_next = 24'd0;155 data_next = 32'd0; 156 156 state_next = 4'd0; 157 157 end -
trunk/MultiChannelUSB/i2c_fifo.v
r66 r70 22 22 assign i2c_sda = int_sdo ? 1'bz : 1'b0; 23 23 assign i2c_scl = int_scl | (int_clken ? ~i2c_clk : 1'b0); 24 // assign i2c_scl = counter[8];25 24 26 25 assign start = int_data[8]; … … 64 63 0: 65 64 begin 65 int_ack <= 1'b0; 66 66 int_sdo <= 1'b1; 67 67 int_scl <= 1'b1;
Note:
See TracChangeset
for help on using the changeset viewer.