2020-01-23 14:24:35 -06:00
|
|
|
/********************************************************************
|
|
|
|
* This file includes the functions to create the title page
|
|
|
|
* which introduces generality of OpenFPGA framework
|
|
|
|
*******************************************************************/
|
|
|
|
#include "openfpga_title.h"
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
* Generate a string of openfpga title introduction
|
|
|
|
* This is mainly used when launching OpenFPGA shell
|
|
|
|
*******************************************************************/
|
2020-04-07 17:14:41 -05:00
|
|
|
std::string create_openfpga_title() {
|
2020-01-23 14:24:35 -06:00
|
|
|
std::string title;
|
|
|
|
|
2020-03-25 12:16:04 -05:00
|
|
|
title += std::string("\n");
|
|
|
|
title += std::string(" ___ _____ ____ ____ _ \n");
|
|
|
|
title += std::string(" / _ \\ _ __ ___ _ __ | ___| _ \\ / ___| / \\ \n");
|
|
|
|
title += std::string(" | | | | '_ \\ / _ \\ '_ \\| |_ | |_) | | _ / _ \\ \n");
|
|
|
|
title += std::string(" | |_| | |_) | __/ | | | _| | __/| |_| |/ ___ \\ \n");
|
|
|
|
title += std::string(" \\___/| .__/ \\___|_| |_|_| |_| \\____/_/ \\_\\ \n");
|
|
|
|
title += std::string(" |_| \n");
|
2020-01-23 14:24:35 -06:00
|
|
|
title += std::string("\n");
|
|
|
|
title += std::string(" OpenFPGA: An Open-source FPGA IP Generator\n");
|
2020-01-24 18:00:53 -06:00
|
|
|
title += std::string(" Versatile Place and Route (VPR)\n");
|
|
|
|
title += std::string(" FPGA-Verilog\n");
|
|
|
|
title += std::string(" FPGA-SPICE\n");
|
|
|
|
title += std::string(" FPGA-SDC\n");
|
|
|
|
title += std::string(" FPGA-Bitstream\n");
|
2020-01-23 14:24:35 -06:00
|
|
|
title += std::string("\n");
|
2020-01-24 17:57:14 -06:00
|
|
|
title += std::string(" This is a free software under the MIT License\n");
|
2020-01-23 14:24:35 -06:00
|
|
|
title += std::string("\n");
|
2020-01-24 17:57:14 -06:00
|
|
|
title += std::string(" Copyright (c) 2018 LNIS - The University of Utah\n");
|
2020-01-23 14:24:35 -06:00
|
|
|
title += std::string("\n");
|
|
|
|
title += std::string("Permission is hereby granted, free of charge, to any person obtaining a copy\n");
|
|
|
|
title += std::string("of this software and associated documentation files (the \"Software\"), to deal\n");
|
|
|
|
title += std::string("in the Software without restriction, including without limitation the rights\n");
|
|
|
|
title += std::string("to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n");
|
|
|
|
title += std::string("copies of the Software, and to permit persons to whom the Software is\n");
|
|
|
|
title += std::string("furnished to do so, subject to the following conditions:\n");
|
|
|
|
title += std::string("\n");
|
|
|
|
title += std::string("The above copyright notice and this permission notice shall be included in\n");
|
|
|
|
title += std::string("all copies or substantial portions of the Software.\n");
|
|
|
|
title += std::string("\n");
|
|
|
|
title += std::string("THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n");
|
|
|
|
title += std::string("IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n");
|
|
|
|
title += std::string("FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n");
|
|
|
|
title += std::string("AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n");
|
|
|
|
title += std::string("LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n");
|
|
|
|
title += std::string("OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n");
|
|
|
|
title += std::string("THE SOFTWARE.\n");
|
|
|
|
title += std::string("\n");
|
|
|
|
|
2020-04-07 17:14:41 -05:00
|
|
|
return title;
|
2020-01-23 14:24:35 -06:00
|
|
|
}
|