From 4e32f6b8de2ea4ae37e1c698c1b17a3fe90ff234 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 13 Dec 2018 04:51:15 +0000 Subject: [PATCH] back.verilog: detect undriven public wires using Yosys. This should never happen, and is certainly a logic bug in nMigen. --- nmigen/back/verilog.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nmigen/back/verilog.py b/nmigen/back/verilog.py index 90a5c2f..8ac5f1f 100644 --- a/nmigen/back/verilog.py +++ b/nmigen/back/verilog.py @@ -19,6 +19,7 @@ def convert(*args, **kwargs): stderr=subprocess.PIPE, encoding="utf-8") verilog_text, error = popen.communicate(""" +# Convert nMigen's RTLIL to readable Verilog. read_ilang <