summaryrefslogtreecommitdiffstats
path: root/libtoprammer/bitfile.py
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2012-04-12 10:02:19 +0200
committerMichael Buesch <m@bues.ch>2012-04-12 10:02:19 +0200
commit5982f338f62f2b581d68ac579f2185f0a4535682 (patch)
treea9fe4598b96b3ca2ff08d0b2139b75dc4d160eee /libtoprammer/bitfile.py
parent031078d37a6bc5b21c7ff5b16c972b2deb77a5ba (diff)
downloadtoprammer-5982f338f62f2b581d68ac579f2185f0a4535682.tar.xz
toprammer-5982f338f62f2b581d68ac579f2185f0a4535682.zip
Move .bit files to libtoprammer/fpga/bin/
Signed-off-by: Michael Buesch <m@bues.ch>
Diffstat (limited to 'libtoprammer/bitfile.py')
-rw-r--r--libtoprammer/bitfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtoprammer/bitfile.py b/libtoprammer/bitfile.py
index 0745b15..6f79502 100644
--- a/libtoprammer/bitfile.py
+++ b/libtoprammer/bitfile.py
@@ -139,13 +139,13 @@ def bitfileFind(filename):
if filename.startswith("/"):
if __probeFile(filename):
return filename
- paths = ( ".", "./libtoprammer/fpga", )
+ paths = ( ".", "./libtoprammer/fpga/bin", )
for path in paths:
fullpath = path + "/" + filename
if __probeFile(fullpath):
return fullpath
fullpath = pkg_resources.resource_filename("libtoprammer",
- "fpga/" + filename)
+ "fpga/bin/" + filename)
if __probeFile(fullpath):
return fullpath
return None
bues.ch cgit interface