OpenCores
URL https://opencores.org/ocsvn/ssbcc/ssbcc/trunk

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [build/] [xilinx_placer_table] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sinclairrf
#!/bin/bash
2
# Copyright 2013, Sinclair R.F., Inc.
3
#
4
# Exercise a make script for all the placer cost table entries.
5
 
6
VERSION="$1";
7
TB="uc_led";
8
 
9
TOOL_DIR="/opt/Xilinx/${VERSION}";
10
if [ ! -e "${TOOL_DIR}" ]; then
11
  echo "Xilinx ISE version ${VERSION} not found at ${TOOL_DIR}" > /dev/stderr;
12
  exit 1;
13
fi
14
if [ -d "${TOOL_DIR}/ISE_DS" ]; then
15
  TOOL_DIR="${TOOL_DIR}/ISE_DS";
16
fi
17
 
18
for (( ii=1; ii<=100; ++ii )); do
19
  ./make "${TOOL_DIR}" "${TB}" "-timing -t ${ii}" 2>&1 > log-placer_cost_run;
20
  echo "-timing -t ${ii} `grep "TS_i_clk = PERIOD" log-placer_cost_run`";
21
done | gawk '
22
BEGIN{best=999;}
23
{
24
  if (NF>=3) { printf("%s\r",$3); }
25
  nfvert = split($0,vertsplit,"|");
26
  if (nfvert < 4) next;
27
  test=1*vertsplit[4];
28
  if (test < best) {
29
    best = test;
30
    print $0;
31
  }
32
}'

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.