mirror of
https://github.com/avakar/usbcorev.git
synced 2024-10-22 02:17:39 +08:00
Removed a redundant bit from usb_ep.
This commit is contained in:
parent
7ee18812df
commit
a583ba8083
4
usb_ep.v
4
usb_ep.v
@ -69,9 +69,9 @@ end
|
||||
|
||||
always @(*) begin
|
||||
if (ctrl_dir_in)
|
||||
ctrl_rd_data = { 1'b0, ep_in_full, ep_in_cnt, 2'b0, ep_in_toggle, ep_in_stall, 1'b0, ep_setup, 1'b0, ep_in_full };
|
||||
ctrl_rd_data = { 1'b0, ep_in_cnt, 2'b0, ep_in_toggle, ep_in_stall, 1'b0, ep_setup, 1'b0, ep_in_full };
|
||||
else
|
||||
ctrl_rd_data = { 1'b0, ep_out_full, ep_out_cnt, 2'b0, ep_out_toggle, ep_out_stall, 1'b0, ep_setup, 1'b0, ep_out_full };
|
||||
ctrl_rd_data = { 1'b0, ep_out_cnt, 2'b0, ep_out_toggle, ep_out_stall, 1'b0, ep_setup, 1'b0, ep_out_full };
|
||||
end
|
||||
|
||||
always @(posedge clk) begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user