mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/yosys_wrapper: Skip language=None files.
This commit is contained in:
parent
8f26e5f7a8
commit
f62d380b2f
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ class YosysWrapper():
|
|||
# yosys has no such function read_systemverilog
|
||||
if language == "systemverilog":
|
||||
language = "verilog -sv"
|
||||
if language is None:
|
||||
continue
|
||||
reads.append(f"read_{language}{includes} {filename}")
|
||||
return "\n".join(reads)
|
||||
|
||||
|
|
Loading…
Reference in a new issue