errors · bitdewfpga bit, synthesis

note [read-with-slang]: top read with yosys-slang, the second reader (yosys' own reader refused this code; the build is the same from here).

note [read-with-slang]: top read with yosys-slang, the second reader (yosys' own reader refused this code; the build is the same from here). https://nosey-dewdrop.github.io/dewfpga/errors/read-with-slang/

Why does it happen?

Interfaces, unpacked arrays, foreach, break, hierarchical names, string parameters: SystemVerilog Vivado accepts and yosys' own reader does not. The second reader takes over, and the netlist is checked the same way.

Both readers read every file of the design as one compilation unit (yosys-slang with --single-unit, since 7 October 2026), the way Vivado reads the files of one library (UG901 Ch.10, Compilation Units): a typedef at file scope in types.sv is visible in iface.sv and design.sv, as it is in dewfpga sim (iverilog). Before that, yosys-slang read each file as its own unit and stopped with use of undeclared identifier 'nib_t' on a name another file declares.

What is the fix?

Nothing. The note says which reader built the design, in case a later message names a construct.

Which command prints it?

Which probes in test/sv print this code?

Every probe, with what Vivado does and what each stage does here: the probes, stage by stage.