Changeset 87 for trunk/MultiChannelUSB
- Timestamp:
- Dec 21, 2009, 11:56:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/control.v
r84 r87 377 377 18: 378 378 begin 379 // int_ram_data[8:1] <= ram_counter[7:0];380 379 int_ram_data[8:1] <= int_ept_data[7:0]; 381 380 int_ram_data[17:10] <= int_ept_data[15:8]; … … 385 384 19: 386 385 begin 387 // int_ram_data[8:1] <= ram_counter[7:0];388 386 int_ram_data[8:1] <= int_ept_data[23:16]; 389 387 int_ram_data[17:10] <= int_ept_data[31:24]; … … 394 392 20: 395 393 begin 396 // int_ram_data[8:1] <= ram_counter[7:0];397 394 int_ram_data[8:1] <= int_ept_data[39:32]; 398 395 int_ram_data[17:10] <= int_ept_data[47:40]; … … 400 397 begin 401 398 int_ram_we <= 1'b0; 402 int_ram_data <= 18'd0;403 399 ram_counter <= 19'd0; 404 400 state <= 5'd21; … … 409 405 end 410 406 end 411 /* 412 21: 413 begin 414 int_wrreq <= 1'b0; 415 state <= 5'd22; 416 end 417 418 22: 419 begin 420 state <= 5'd23; 421 end 422 423 23: 424 begin 425 if (~tx_full) 426 begin 427 int_data <= int_ram_q[8:1]; 428 int_wrreq <= 1'b1; 429 if (&ram_counter) 430 begin 431 state <= 5'd0; 432 end 433 else 434 begin 435 state <= 5'd21; 436 ram_counter <= ram_counter + 20'd1; 437 end 438 end 439 end 440 */ 407 441 408 21: 442 409 begin
Note:
See TracChangeset
for help on using the changeset viewer.