usbcorev icon indicating copy to clipboard operation
usbcorev copied to clipboard

purpose of some top-level signals

Open buttercutter opened this issue 6 years ago • 2 comments

@avakar Would you be able to add some code comment / documentation on the purpose of some top-level signals ? otherwise user would need to dive into your internals of your softcore

For example, what is purpose of usb_address , endpoint , setup ?

module usb(
    input rst_n,
    input clk_48,

    input rx_j,
    input rx_se0,

    output tx_en,
    output tx_j,
    output tx_se0,

    input[6:0] usb_address,

    output usb_rst,

    output reg transaction_active,
    output reg[3:0] endpoint,
    output reg direction_in,
    output reg setup,
    input data_toggle,

    input[1:0] handshake,
    
    output reg[7:0] data_out,
    input[7:0] data_in,
    input data_in_valid,
    output reg data_strobe,
    output reg success
    );

buttercutter avatar Dec 26 '18 07:12 buttercutter

@avakar why are both usb_ep_banked.v and usb_ep.v not used ?

buttercutter avatar Aug 04 '20 06:08 buttercutter

what is purpose of usb_address , endpoint , setup ?

hhchen0924 avatar Sep 09 '21 08:09 hhchen0924