verilator/docs/gen/ex_WIDTHEXPAND_1_faulty.rst

9 lines
212 B
ReStructuredText

.. comment: generated by t_lint_widthexpand_docs_bad
.. code-block:: sv
:linenos:
:emphasize-lines: 3
int array[5];
bit [1:0] rd_addr;
wire int rd_value = array[rd_addr]; //<--- Warning