diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-08-22 09:59:25 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-08-22 09:59:33 +0200 |
commit | c475deec6c69d509ac828cca437e2b9502f7b0c3 (patch) | |
tree | 6a15b902569999ced894daa3eea505c3dc93d58f /techlibs/xilinx | |
parent | f40d1b78b629dfebff7598e04b8470e6942f8f58 (diff) | |
download | yosys-c475deec6c69d509ac828cca437e2b9502f7b0c3.tar.gz yosys-c475deec6c69d509ac828cca437e2b9502f7b0c3.tar.bz2 yosys-c475deec6c69d509ac828cca437e2b9502f7b0c3.zip |
Switched to Python 3
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r-- | techlibs/xilinx/Makefile.inc | 2 | ||||
-rw-r--r-- | techlibs/xilinx/brams_init.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/techlibs/xilinx/Makefile.inc b/techlibs/xilinx/Makefile.inc index cca41f917..ccf88ec7e 100644 --- a/techlibs/xilinx/Makefile.inc +++ b/techlibs/xilinx/Makefile.inc @@ -11,7 +11,7 @@ EXTRA_OBJS += techlibs/xilinx/brams_init.mk techlibs/xilinx/brams_init.mk: techlibs/xilinx/brams_init.py $(Q) mkdir -p techlibs/xilinx - $(P) python $< + $(P) python3 $< $(Q) touch $@ techlibs/xilinx/brams_init_36.vh: techlibs/xilinx/brams_init.mk diff --git a/techlibs/xilinx/brams_init.py b/techlibs/xilinx/brams_init.py index eac829ddf..e787b1f76 100644 --- a/techlibs/xilinx/brams_init.py +++ b/techlibs/xilinx/brams_init.py @@ -1,7 +1,4 @@ -#!/usr/bin/python - -from __future__ import division -from __future__ import print_function +#!/usr/bin/env python3 with open("techlibs/xilinx/brams_init_18.vh", "w") as f: for i in range(8): |