URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
[/] [s1_core/] [trunk/] [tools/] [bin/] [update_macrocell] - Diff between revs 7 and 86
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 7 |
Rev 86 |
Line 1... |
Line 1... |
#!/bin/bash
|
#!/bin/bash
|
|
|
|
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
|
|
if ! [ -d "$S1_ROOT" ]; then echo "***ERROR***: directory '$S1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
|
|
|
SRC_LIB=$S1_ROOT/hdl/behav/sparc_libs/u1_lib.v
|
SRC_LIB=$S1_ROOT/hdl/behav/sparc_libs/u1_lib.v
|
DST_LIB=$S1_ROOT/hdl/macrocell/sparc_libs/u1_lib.v
|
DST_LIB=$S1_ROOT/hdl/macrocell/sparc_libs/u1_lib.v
|
rm -f $DST_LIB
|
rm -f $DST_LIB
|
egrep -v "assign|reg |always|i0|<=|wire|if \(|casez|=|endcase| end" $SRC_LIB > $DST_LIB
|
egrep -v "assign|reg |always|i0|<=|wire|if \(|casez|=|endcase| end" $SRC_LIB > $DST_LIB
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.