Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. echo "OpenSMART ver 1.0"
  2.  
  3. case "$1" in
  4. -v) case "$2" in
  5. "") echo "No definitions. Compile baseline";
  6. verilog;;
  7. *) echo "defined $2";
  8. verilog_arg $2;;
  9. esac;;
  10. -R) routerVerilog;;
  11. -c) clean;
  12. case "$2" in
  13. "") echo "No definitions. Compile baseline";
  14. compile;;
  15. *) echo "Defined $2";
  16. compile_arg $2;;
  17. esac;;
  18. -clean) clean;;
  19. -r) run_test;;
  20. -h|--help|*) echo " ";
  21. echo "Usage : $0 (flag) (routing)";
  22. echo "flag list: [-c : compile all] [-clean : cleanup build files] [ -r : run test ] [ -v : generate Verilog] ";
  23. echo "If you want to compile a Mesh simulation, use this command: "./OpenSMART -c"";
  24. echo "If you want to compile a SMART simulation, use this command: "./OpenSMART -c SMART"";
  25. echo "If you want to generate the Verilog code of a mesh network, use this command: "./OpenSMART -v"";
  26. echo "If you want to generate the Verilog code of a SMART network, use this command: "./OpenSMART -v SMART"";
  27. echo " ";;
  28. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement