diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-01 23:32:03 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-01 23:32:03 +0100 |
commit | 81c33a343ffce5eab897d0a5a7d228bfcb08aaf4 (patch) | |
tree | f1a95089b3c441b3895fc55612b5efc730b087bd /icetime/timings.py | |
parent | 8b6116523bdd12b9376b4ed023fee6c62bb7a714 (diff) | |
download | icestorm-81c33a343ffce5eab897d0a5a7d228bfcb08aaf4.tar.gz icestorm-81c33a343ffce5eab897d0a5a7d228bfcb08aaf4.tar.bz2 icestorm-81c33a343ffce5eab897d0a5a7d228bfcb08aaf4.zip |
Timing models for LP and HX devices
Diffstat (limited to 'icetime/timings.py')
-rw-r--r-- | icetime/timings.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/icetime/timings.py b/icetime/timings.py index e559338..5da87d3 100644 --- a/icetime/timings.py +++ b/icetime/timings.py @@ -41,9 +41,7 @@ def timings_to_c(chip, f): print(" exit(1);") print("}") -with open("../icefuzz/timings_1k.txt", "r") as f: - timings_to_c("1k", f); - -with open("../icefuzz/timings_8k.txt", "r") as f: - timings_to_c("8k", f); +for db in "lp1k lp8k hx1k hx8k".split(): + with open("../icefuzz/timings_%s.txt" % db, "r") as f: + timings_to_c(db, f); |