Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "OpenSMART ver 1.0"
- case "$1" in
- -v) case "$2" in
- "") echo "No definitions. Compile baseline";
- verilog;;
- *) echo "defined $2";
- verilog_arg $2;;
- esac;;
- -R) routerVerilog;;
- -c) clean;
- case "$2" in
- "") echo "No definitions. Compile baseline";
- compile;;
- *) echo "Defined $2";
- compile_arg $2;;
- esac;;
- -clean) clean;;
- -r) run_test;;
- -h|--help|*) echo " ";
- echo "Usage : $0 (flag) (routing)";
- echo "flag list: [-c : compile all] [-clean : cleanup build files] [ -r : run test ] [ -v : generate Verilog] ";
- echo "If you want to compile a Mesh simulation, use this command: "./OpenSMART -c"";
- echo "If you want to compile a SMART simulation, use this command: "./OpenSMART -c SMART"";
- echo "If you want to generate the Verilog code of a mesh network, use this command: "./OpenSMART -v"";
- echo "If you want to generate the Verilog code of a SMART network, use this command: "./OpenSMART -v SMART"";
- echo " ";;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement