Better document where to change UART baud rates
Changing the UART baud rate in Verilator builds must be done in two
places, better document those.
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/sw/device/lib/arch/device_sim_verilator.c b/sw/device/lib/arch/device_sim_verilator.c
index 0f30c6d..2d0d9fe 100644
--- a/sw/device/lib/arch/device_sim_verilator.c
+++ b/sw/device/lib/arch/device_sim_verilator.c
@@ -11,6 +11,8 @@
const device_type_t kDeviceType = kDeviceSimVerilator;
+// Changes to the clock frequency or UART baud rate must also be reflected at
+// `hw/top_earlgrey/rtl/top_earlgrey_verilator.sv`.
const uint64_t kClockFreqCpuHz = 500 * 1000; // 500kHz
const uint64_t kClockFreqPeripheralHz = 125 * 1000; // 125kHz