mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Use C++11 final/override keywords.
This commit is contained in:
@@ -29,7 +29,7 @@ struct SynthEasicPass : public ScriptPass
|
||||
{
|
||||
SynthEasicPass() : ScriptPass("synth_easic", "synthesis for eASIC platform") { }
|
||||
|
||||
void help() YS_OVERRIDE
|
||||
void help() override
|
||||
{
|
||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
log("\n");
|
||||
@@ -67,7 +67,7 @@ struct SynthEasicPass : public ScriptPass
|
||||
string top_opt, vlog_file, etools_path;
|
||||
bool flatten, retime;
|
||||
|
||||
void clear_flags() YS_OVERRIDE
|
||||
void clear_flags() override
|
||||
{
|
||||
top_opt = "-auto-top";
|
||||
vlog_file = "";
|
||||
@@ -76,7 +76,7 @@ struct SynthEasicPass : public ScriptPass
|
||||
retime = false;
|
||||
}
|
||||
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||
{
|
||||
string run_from, run_to;
|
||||
clear_flags();
|
||||
@@ -127,7 +127,7 @@ struct SynthEasicPass : public ScriptPass
|
||||
log_pop();
|
||||
}
|
||||
|
||||
void script() YS_OVERRIDE
|
||||
void script() override
|
||||
{
|
||||
string phys_clk_lib = stringf("%s/data_ruby28/design_libs/logical/timing/gp/n3x_phys_clk_0v893ff125c.lib", etools_path.c_str());
|
||||
string logic_lut_lib = stringf("%s/data_ruby28/design_libs/logical/timing/gp/n3x_logic_lut_0v893ff125c.lib", etools_path.c_str());
|
||||
|
||||
Reference in New Issue
Block a user