Skip to content

Commit

Permalink
Fixed SIE address decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
lekernel committed Jul 16, 2010
1 parent 9ecf512 commit 09d0b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/softusb/rtl/softusb_sie.v
Expand Up @@ -63,7 +63,7 @@ reg utmi_rx_valid_r;
reg rx_error;

always @(posedge usb_clk) begin
case(zpu_a[3:0])
case(zpu_a[5:2])
4'b0000: zpu_dat_o <= {6'd0, line_state_a, 24'd0};
4'b0001: zpu_dat_o <= {6'd0, line_state_b, 24'd0};
4'b0010: zpu_dat_o <= {7'd0, discon_a, 24'd0};
Expand All @@ -86,7 +86,7 @@ always @(posedge usb_clk) begin
4'b1100: zpu_dat_o <= {7'd0, rx_error, 24'd0};
endcase
if(zpu_we) begin
case(zpu_a[3:0])
case(zpu_a[5:2])
4'b0100: port_sel_rx <= zpu_dat_i[24];
4'b0101: port_sel_tx <= zpu_dat_i[25:24];
4'b0110: begin
Expand Down

0 comments on commit 09d0b5e

Please sign in to comment.