From f5099113e666bb98f326c09384108b97b3c24aa2 Mon Sep 17 00:00:00 2001 From: Rick Altherr Date: Thu, 1 Feb 2018 12:29:01 -0800 Subject: [PATCH] xc7patch: remove disabled debug code Signed-off-by: Rick Altherr --- tools/xc7patch.cc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tools/xc7patch.cc b/tools/xc7patch.cc index 4237315e..fc4bc6ad 100644 --- a/tools/xc7patch.cc +++ b/tools/xc7patch.cc @@ -120,18 +120,6 @@ int main(int argc, char* argv[]) { frame_data[0x32] |= (ecc & 0x1FFF); } -#if 0 - for (auto& frame : frames) { - std::cout << "0x" << std::hex - << static_cast(frame.first) << " "; - - for (auto& word : frame.second) { - std::cout << "0x" << std::hex << word << ","; - } - - std::cout << std::endl; - } -#endif std::vector out_packets; // Generate a single type 2 packet that writes everything at once. @@ -158,12 +146,6 @@ int main(int argc, char* argv[]) { 2, xc7series::ConfigurationPacket::Opcode::Write, xc7series::ConfigurationRegister::FDRI, packet_data)); -#if 0 - for (auto& packet : out_packets) { - std::cout << packet << std::endl; - } -#endif - // Write bitstream. xc7series::BitstreamWriter out_bitstream_writer(out_packets); std::ofstream out_file(FLAGS_output_file);