diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-02-06 16:35:59 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-02-06 16:35:59 +0100 |
commit | e112d2fbf5a31f00ef19e6d05f28fecc1e9c56b9 (patch) | |
tree | c5146a20e59acc342dfe414e1b35fdfe419b9e81 /backends/smt2/smtio.py | |
parent | 266511b29eb66486bd17210eb28454a2efee218a (diff) | |
download | yosys-e112d2fbf5a31f00ef19e6d05f28fecc1e9c56b9.tar.gz yosys-e112d2fbf5a31f00ef19e6d05f28fecc1e9c56b9.tar.bz2 yosys-e112d2fbf5a31f00ef19e6d05f28fecc1e9c56b9.zip |
Add missing blackslash-to-slash convertion to smtio.py (matching Smt2Worker::get_id() behavior)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'backends/smt2/smtio.py')
-rw-r--r-- | backends/smt2/smtio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py index 68783e744..ab20a4af2 100644 --- a/backends/smt2/smtio.py +++ b/backends/smt2/smtio.py @@ -784,7 +784,7 @@ class SmtIo: def get_path(self, mod, path): assert mod in self.modinfo - path = path.split(".") + path = path.replace("\\", "/").split(".") for i in range(len(path)-1): first = ".".join(path[0:i+1]) |