[dv/top_earlgrey] Remaining compile warnings
Hi DV-Team,
I have submitted few changes as a part of #1046 to fix few top_earlgrey compile warnings. However, there are still some warnings remaining, and should be addressed by different owners. Following are the remaining warnings:
Warning-[IDTS] Ignoring dynamic type sensitivity ../../../../../../../../usr/local/google/home/gaurangg/opentitan05/opentitan/hw/vendor/lowrisc_ibex/rtl/ibex_tracer.sv, 395 "mnemonic" Dynamic types used in always_comb, always_latch, always (@*) will be ignored for the inferred sensitivity list.
Warning-[TFIPC] Too few instance port connections ../../../../../../../../usr/local/google/home/gaurangg/opentitan05/opentitan/hw/top_earlgrey/dv/../rtl/top_earlgrey_asic.sv, 68 top_earlgrey_asic, "padctl padctl( .IO_DPS0 (1'b1), .IO_DPS1 (1'b1), .IO_DPS3 (1'b0), .IO_DPS4 (1'b0), .IO_DPS5 (1'b0), .IO_DPS6 (1'b0), .IO_DPS7 (1'b0), .cio_uart_tx_d2p (cio_uart_tx_d2p), .cio_uart_tx_en_d2p (cio_uart_tx_en_d2p), .cio_uart_rx_p2d (cio_uart_rx_p2d), .IO_URX (IO_URX), .IO_UTX (IO_UTX), .cio_gpio_d2p (cio_gpio_d2p), .cio_gpio_en_d2p (cio_gpio_en_d2p), .cio_gpio_p2d (cio_gpio_p2d), .IO_GP0 (IO_GP0), .IO_GP1 (IO_GP1), .IO_GP2 (IO_GP2), .IO_GP3 (IO_GP3), .IO_GP4 (IO_GP4), .IO_GP5 (IO_GP5), .IO_GP6 (IO_GP6), .IO_GP7 (IO_GP7), .IO_GP8 (IO_GP8), .IO_GP9 (IO_GP9), .IO_GP10 (IO_GP10), .IO_GP11 (IO_GP11), .IO_GP12 (IO_GP12), .IO_GP13 (IO_GP13), .IO_GP14 (IO_GP14), .IO_GP15 (IO_GP15));" The above instance has fewer port connections than the module definition.
Warning-[BNA] Bind Directive not applied ../../../../../../../../usr/local/google/home/gaurangg/opentitan05/opentitan/hw/top_earlgrey/dv/../ip/xbar/dv/autogen/xbar_main_bind.sv, 77 "bind xbar_main tlul_assert tlul_assert_device_rv_timer( .clk_i (clk_main_i), .rst_ni (rst_main_ni), .h2d (tl_rv_timer_o), .d2h (tl_rv_timer_i));" No instance of module "xbar_main_bind" is elaborated. So the above bind directive will not be applied.
Please let me know if you need more information on this.
Best Regards, Gaurang
Adding @imphil and @vogelpi for further insight, as I believe that the Ibex warning is related to the RTL tracer module.
Fixing this one #1137
Warning-[BNA] Bind Directive not applied
@eunchan can you take a look at following warning?
Warning-[TFIPC] Too few instance port connections ../../../../../../../../usr/local/google/home/gaurangg/opentitan05/opentitan/hw/top_earlgrey/dv/../rtl/top_earlgrey_asic.sv, 68 top_earlgrey_asic, "padctl padctl( .IO_DPS0 (1'b1), .IO_DPS1 (1'b1), .IO_DPS3 (1'b0), .IO_DPS4 (1'b0), .IO_DPS5 (1'b0), .IO_DPS6 (1'b0), .IO_DPS7 (1'b0), .cio_uart_tx_d2p (cio_uart_tx_d2p), .cio_uart_tx_en_d2p (cio_uart_tx_en_d2p), .cio_uart_rx_p2d (cio_uart_rx_p2d), .IO_URX (IO_URX), .IO_UTX (IO_UTX), .cio_gpio_d2p (cio_gpio_d2p), .cio_gpio_en_d2p (cio_gpio_en_d2p), .cio_gpio_p2d (cio_gpio_p2d), .IO_GP0 (IO_GP0), .IO_GP1 (IO_GP1), .IO_GP2 (IO_GP2), .IO_GP3 (IO_GP3), .IO_GP4 (IO_GP4), .IO_GP5 (IO_GP5), .IO_GP6 (IO_GP6), .IO_GP7 (IO_GP7), .IO_GP8 (IO_GP8), .IO_GP9 (IO_GP9), .IO_GP10 (IO_GP10), .IO_GP11 (IO_GP11), .IO_GP12 (IO_GP12), .IO_GP13 (IO_GP13), .IO_GP14 (IO_GP14), .IO_GP15 (IO_GP15));" The above instance has fewer port connections than the module definition.
With #11396 and #11397 applied, the only build warnings from running util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_uart_tx_rx --build-only are to do with bind directives that don't apply (mostly to do with security prim verification). I don't think there's any benefit to keeping this issue open any more.