File: 0004-Remove-hard-coded-path-in-icebox_vlog.py.patch

package info (click to toggle)
fpga-icestorm 0~20230218gitd20a5e9-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,448 kB
  • sloc: python: 28,381; cpp: 4,966; sh: 2,594; ansic: 1,202; makefile: 677; xml: 16
file content (21 lines) | stat: -rw-r--r-- 730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Sat, 19 Oct 2019 22:53:21 +0200
Subject: Remove hard-coded path in icebox_vlog.py

---
 icebox/icebox_vlog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icebox/icebox_vlog.py b/icebox/icebox_vlog.py
index 74ac3d3..9ba2e30 100755
--- a/icebox/icebox_vlog.py
+++ b/icebox/icebox_vlog.py
@@ -384,7 +384,7 @@ def seg_to_net(seg, default=None):
 
 if lookup_symbols:
     text_func.append("// Debug Symbols")
-    with open("/usr/local/share/icebox/chipdb-%s.txt" % ic.device, "r") as f:
+    with open("/usr/share/fpga-icestorm/chipdb/chipdb-%s.txt" % ic.device, "r") as f:
         current_net = -1
         exported_names = dict()
         for line in f: