44 input [7:0] uart_in_data,
49 output [7:0] uart_out_data,
50 output uart_out_valid,
101 .clk_48mhz (clk_48mhz),
102 .reset (reset || det_reset),
109 .usb_tx_en(usb_tx_en),
112 .uart_in_data( uart_in_data ),
113 .uart_in_valid( uart_in_valid ),
114 .uart_in_ready( uart_in_ready ),
117 .uart_out_data( uart_out_data ),
118 .uart_out_valid( uart_out_valid ),
119 .uart_out_ready( uart_out_ready ),
127 assign usb_p_rx = usb_tx_en ? 1'b1 : usb_p_in;
128 assign usb_n_rx = usb_tx_en ? 1'b0 : usb_n_in;
132 .IBUF_LOW_PWR(
"FALSE"),
133 .IOSTANDARD(
"DEFAULT"),
144 .IBUF_LOW_PWR(
"FALSE"),
145 .IOSTANDARD(
"DEFAULT"),
module usb_uart(input clk_48mhz, input reset, inout pin_usb_p, inout pin_usb_n, input[8] uart_in_data, input uart_in_valid, output uart_in_ready, output[8] uart_out_data, output uart_out_valid, input uart_out_ready, output det_reset, output[11:0] debug)
module usb_uart_core(input clk_48mhz, input reset, output usb_p_tx, output usb_n_tx, input usb_p_rx, input usb_n_rx, output usb_tx_en, input[8] uart_in_data, input uart_in_valid, output uart_in_ready, output[8] uart_out_data, output uart_out_valid, input uart_out_ready, output[11:0] debug)
module usb_reset_det(input clk, output reset, input usb_p_rx, input usb_n_rx)