diff --git a/openfpga/src/base/openfpga_setup_command.cpp b/openfpga/src/base/openfpga_setup_command.cpp index 99d827bfb..322378b07 100644 --- a/openfpga/src/base/openfpga_setup_command.cpp +++ b/openfpga/src/base/openfpga_setup_command.cpp @@ -36,6 +36,8 @@ void add_openfpga_setup_commands(openfpga::Shell& shell) { ShellCommandId shell_cmd_write_arch_id = shell.add_command(shell_cmd_write_arch, "write OpenFPGA architecture file"); shell.set_command_class(shell_cmd_write_arch_id, openfpga_setup_cmd_class); shell.set_command_const_execute_function(shell_cmd_write_arch_id, write_arch); + /* The 'write_openfpga_arch' command should be executed before 'read_openfpga_arch' */ + shell.set_command_dependency(shell_cmd_write_arch_id, std::vector(1, shell_cmd_read_arch_id)); } } /* end namespace openfpga */ diff --git a/openfpga/src/base/openfpga_title.cpp b/openfpga/src/base/openfpga_title.cpp index 4a33bb72e..8a3917ead 100644 --- a/openfpga/src/base/openfpga_title.cpp +++ b/openfpga/src/base/openfpga_title.cpp @@ -14,11 +14,9 @@ const char* create_openfpga_title() { title += std::string("\n"); title += std::string(" OpenFPGA: An Open-source FPGA IP Generator\n"); title += std::string("\n"); - title += std::string("Contributors: Xifan Tang\tAurelien Alacchi\tBaudouin Chauviere\n"); + title += std::string(" This is a free software under the MIT License\n"); title += std::string("\n"); - title += std::string("The MIT License\n"); - title += std::string("\n"); - title += std::string("Copyright (c) 2018 LNIS - The University of Utah\n"); + title += std::string(" Copyright (c) 2018 LNIS - The University of Utah\n"); 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");