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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tools/] [bin/] [build_icarus] - Blame information for rev 60

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 fafa1971
#!/bin/bash
2
 
3 14 fafa1971
if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
4
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
5
 
6 60 fafa1971
# Make clean
7 2 fafa1971
rm -rf $M1_ROOT/run/sim/icarus
8 60 fafa1971
mkdir -p $M1_ROOT/run/sim/icarus
9 2 fafa1971
cd $M1_ROOT/run/sim/icarus
10 60 fafa1971
 
11
# Run simulation
12 2 fafa1971
iverilog -o testbench -c$FILELIST_ICARUS 2>&1 | tee build.log
13
 

powered by: WebSVN 2.1.0

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