simplify openfpga title page and add command dependency on read_arch and write_arch
This commit is contained in:
parent
b641ae15d3
commit
a7a1fe8a74
|
@ -36,6 +36,8 @@ void add_openfpga_setup_commands(openfpga::Shell<OpenfpgaContext>& 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<ShellCommandId>(1, shell_cmd_read_arch_id));
|
||||
}
|
||||
|
||||
} /* end namespace openfpga */
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue