[usbdev] Add reference signals for synchronization of USB clock
This commit adds two new outputs to usbdev:
- `usb_ref_pulse_o`: indicates the reception of a start of frame (SOF)
packet, sent by the host every 1 ms.
- `usb_ref_val_o`: indicates if the `usb_ref_pulse_o` signal is valid.
This information can be used as a reference to synchronize the USB clock
with the host.
Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
diff --git a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
index f6b694d..7abb4d8 100644
--- a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
+++ b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
@@ -813,6 +813,10 @@
.intr_frame_o (intr_usbdev_frame),
.intr_connected_o (intr_usbdev_connected),
+ // Inter-module signals
+ .usb_ref_val_o(),
+ .usb_ref_pulse_o(),
+
.clk_i (clkmgr_clocks.clk_io_peri),
.clk_usb_48mhz_i (clkmgr_clocks.clk_usb_peri),
.rst_ni (rstmgr_resets.rst_sys_io_n),