URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
Subversion Repositories s1_core
[/] [s1_core/] [trunk/] [tools/] [bin/] [update_macrocell] - Rev 111
Go to most recent revision | Compare with Previous | Blame | View Log
#!/bin/bash
test_var S1_ROOT
SRC_LIB=$S1_ROOT/hdl/behav/sparc_libs/u1_lib.v
DST_LIB=$S1_ROOT/hdl/macrocell/sparc_libs/u1_lib.v
rm -f $DST_LIB
egrep -v "assign|reg |always|i0|<=|wire|if \(|casez|=|endcase| end" $SRC_LIB > $DST_LIB
SRC_LIB=$S1_ROOT/hdl/behav/sparc_libs/m1_lib.v
DST_LIB=$S1_ROOT/hdl/macrocell/sparc_libs/m1_lib.v
rm -f $DST_LIB
egrep -v "assign|\||\^|din\[23|din\[21|always|begin| end|z =|for \(|if \(a|wire|integer|reg \[" $SRC_LIB > $DST_LIB
Go to most recent revision | Compare with Previous | Blame | View Log