From de504b993040de3ed2af9fdc3b1a40aa4dd1f30e Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Wed, 10 Aug 2022 21:19:45 +0200 Subject: [PATCH] f4pga/wrappers/sh/quicklogic: rm analysis.f4pga.sh Signed-off-by: Unai Martinez-Corral --- f4pga/wrappers/sh/__init__.py | 13 ++++++- .../wrappers/sh/quicklogic/analysis.f4pga.sh | 34 ------------------- 2 files changed, 12 insertions(+), 35 deletions(-) delete mode 100755 f4pga/wrappers/sh/quicklogic/analysis.f4pga.sh diff --git a/f4pga/wrappers/sh/__init__.py b/f4pga/wrappers/sh/__init__.py index d3601b3..237f1f7 100644 --- a/f4pga/wrappers/sh/__init__.py +++ b/f4pga/wrappers/sh/__init__.py @@ -138,9 +138,20 @@ def vpr_common(): run_sh_script(ROOT / SH_SUBDIR / "vpr_common.f4pga.sh") +# QuickLogic only + def analysis(): print("[F4PGA] Running (deprecated) analysis") - run_sh_script(ROOT / "quicklogic/analysis.f4pga.sh") + run_bash_cmds(vpr_common_cmds('analysis')+f""" +run_vpr \ + --analysis \ + --gen_post_synthesis_netlist on \ + --gen_post_implementation_merged_netlist on \ + --post_synth_netlist_unconn_inputs nets \ + --post_synth_netlist_unconn_outputs nets \ + --verify_file_digests off +""") + Path('vpr_stdout.log').rename('analysis.log') def repack(): diff --git a/f4pga/wrappers/sh/quicklogic/analysis.f4pga.sh b/f4pga/wrappers/sh/quicklogic/analysis.f4pga.sh deleted file mode 100755 index 81adca8..0000000 --- a/f4pga/wrappers/sh/quicklogic/analysis.f4pga.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright (C) 2020-2022 F4PGA Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 - -set -e - -source $(dirname "$0")/vpr_common.f4pga.sh -parse_args $@ - -export OUT_NOISY_WARNINGS=noisy_warnings-${DEVICE}_analysis.log - -run_vpr \ - --analysis \ - --gen_post_synthesis_netlist on \ - --gen_post_implementation_merged_netlist on \ - --post_synth_netlist_unconn_inputs nets \ - --post_synth_netlist_unconn_outputs nets \ - --verify_file_digests off - -mv vpr_stdout.log analysis.log