LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Mar 17 10:47:08 CET 2008
    Subject: [cvs-checkins] MODIFIED: m1_core ...
    Top
    Date: 00/08/03 17:10:47

    Modified: m1_core/tools/bin build_dc build_icarus build_xst
    compile_test run_icarus
    Log:
    Added "lain.ux"-style check for existance of M1_ROOT environment variable before proceeding.




    Revision Changes Path
    1.3 m1_core/tools/bin/build_dc

    http://www.opencores.org/cvsweb.shtml/m1_core/tools/bin/build_dc.diff?r1=1.2&r2=1.3

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: build_dc
    ===================================================================
    RCS file: /cvsroot/fafa1971/m1_core/tools/bin/build_dc,v
    retrieving revision 1.2
    retrieving revision 1.3
    diff -u -b -r1.2 -r1.3
    --- build_dc 5 Mar 2008 14:38:06 -0000 1.2
    +++ build_dc 17 Mar 2008 09:47:08 -0000 1.3
    @@ -1,5 +1,8 @@
    #!/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 ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
    +
    cd $M1_ROOT/run/synth/dc
    rm -rf * .syn* # Make clean
    mkdir work



    1.2 m1_core/tools/bin/build_icarus

    http://www.opencores.org/cvsweb.shtml/m1_core/tools/bin/build_icarus.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: build_icarus
    ===================================================================
    RCS file: /cvsroot/fafa1971/m1_core/tools/bin/build_icarus,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- build_icarus 18 Feb 2008 12:18:26 -0000 1.1
    +++ build_icarus 17 Mar 2008 09:47:08 -0000 1.2
    @@ -1,5 +1,8 @@
    #!/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 ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
    +
    rm -rf $M1_ROOT/run/sim/icarus
    mkdir $M1_ROOT/run/sim/icarus
    cd $M1_ROOT/run/sim/icarus



    1.2 m1_core/tools/bin/build_xst

    http://www.opencores.org/cvsweb.shtml/m1_core/tools/bin/build_xst.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: build_xst
    ===================================================================
    RCS file: /cvsroot/fafa1971/m1_core/tools/bin/build_xst,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- build_xst 18 Feb 2008 12:18:26 -0000 1.1
    +++ build_xst 17 Mar 2008 09:47:08 -0000 1.2
    @@ -1,5 +1,8 @@
    #!/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 ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
    +
    rm -rf $M1_ROOT/run/synth/xst
    mkdir $M1_ROOT/run/synth/xst
    cd $M1_ROOT/run/synth/xst



    1.2 m1_core/tools/bin/compile_test

    http://www.opencores.org/cvsweb.shtml/m1_core/tools/bin/compile_test.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: compile_test
    ===================================================================
    RCS file: /cvsroot/fafa1971/m1_core/tools/bin/compile_test,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- compile_test 18 Feb 2008 12:18:26 -0000 1.1
    +++ compile_test 17 Mar 2008 09:47:08 -0000 1.2 @@ -7,6 +7,9 @@ # # Requires mipsel-linux-gcc (see Download section on srisc.com). +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 + cd $M1_ROOT/tests rm -f *.o *~ *.bin # Make clean if ( test $# != 1 ) then 1.2 m1_core/tools/bin/run_icarus http://www.opencores.org/cvsweb.shtml/m1_core/tools/bin/run_icarus.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: run_icarus =================================================================== RCS file: /cvsroot/fafa1971/m1_core/tools/bin/run_icarus,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- run_icarus 18 Feb 2008 12:18:26 -0000 1.1 +++ run_icarus 17 Mar 2008 09:47:08 -0000 1.2 @@ -1,5 +1,8 @@ #!/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 ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi + cd $M1_ROOT/run/sim/icarus ln -f -s ../../../tests/code.txt . ./testbench 2>&1 | tee sim.log

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.