Changeset 79 for trunk/MultiChannelUSB
- Timestamp:
- Nov 30, 2009, 12:36:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/control.v
r72 r79 54 54 wire crc_error = 1'b0; 55 55 reg crc_reset; 56 reg [ 2:0] byte_counter;56 reg [1:0] byte_counter; 57 57 reg [4:0] idle_counter; 58 58 … … 61 61 wire [15:0] src, dst; 62 62 63 reg [7:0] buffer [ 7:0];63 reg [7:0] buffer [3:0]; 64 64 65 65 assign src = (buffer[0][7]) ? cfg_src_data : {buffer[2], buffer[3]}; … … 118 118 ram_counter <= 19'd0; 119 119 idle_counter <= 5'd0; 120 byte_counter <= 3'd0;120 byte_counter <= 2'd0; 121 121 int_cfg_reset <= 1'b0; 122 122 state <= 5'd1; … … 129 129 begin 130 130 idle_counter <= 5'd0; 131 byte_counter <= byte_counter + 3'd1;131 byte_counter <= byte_counter + 2'd1; 132 132 buffer[byte_counter] <= rx_data; 133 133 if (&byte_counter)
Note:
See TracChangeset
for help on using the changeset viewer.