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

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [tools/] [bin/] [update_macrocell] - Rev 114

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

powered by: WebSVN 2.1.0

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