From 2743d0fa9d785f994fd1bf7908f5c2824a81938a Mon Sep 17 00:00:00 2001 From: David Shah Date: Wed, 1 Aug 2018 14:41:36 +0200 Subject: [PATCH] ecp5: Tweak bitstream chip scope Signed-off-by: David Shah --- ecp5/bitstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {