diff options
author | David Shah <davey1576@gmail.com> | 2018-08-01 14:41:36 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-01 14:41:36 +0200 |
commit | 2743d0fa9d785f994fd1bf7908f5c2824a81938a (patch) | |
tree | 01f5aeb67c0989bee8a4699a02c3163f6d4fe7f8 /ecp5 | |
parent | 1a34d6d33438671c8704388c3911a90bb2184a9b (diff) | |
download | nextpnr-2743d0fa9d785f994fd1bf7908f5c2824a81938a.tar.gz nextpnr-2743d0fa9d785f994fd1bf7908f5c2824a81938a.tar.bz2 nextpnr-2743d0fa9d785f994fd1bf7908f5c2824a81938a.zip |
ecp5: Tweak bitstream chip scope
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/bitstream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc index df9b12d5..bf580f44 100644 --- a/ecp5/bitstream.cc +++ b/ecp5/bitstream.cc @@ -306,8 +306,8 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex } // Configure chip - Trellis::Chip cfg_chip = cc.to_chip(); if (!bitstream_file.empty()) { + Trellis::Chip cfg_chip = cc.to_chip(); Trellis::Bitstream::serialise_chip(cfg_chip).write_bit_py(bitstream_file); } if (!text_config_file.empty()) { |