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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tools/] [bin/] [build_dc] - Diff between revs 54 and 60

Show entire file | Details | Blame | View Log

Rev 54 Rev 60
Line 1... Line 1...
#!/bin/bash
#!/bin/bash
 
 
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
 
 
 
# Make clean
 
rm -rf $M1_ROOT/run/synth/dc
 
mkdir -p $M1_ROOT/run/synth/dc
cd $M1_ROOT/run/synth/dc
cd $M1_ROOT/run/synth/dc
rm -rf * .syn*  # Make clean
 
 
 
# Create setup file
# Create setup file
export SETUP_FILE=".synopsys_dc.setup"
export SETUP_FILE=".synopsys_dc.setup"
echo "set search_path [concat [list ~] $search_path]" > $SETUP_FILE
echo "set search_path [concat [list ~] $search_path]" > $SETUP_FILE
echo "set link_library [list your_library.db]" >> $SETUP_FILE
echo "set link_library [list your_library.db]" >> $SETUP_FILE

powered by: WebSVN 2.1.0

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