blob: 7db8459b8ec619da0057f3d554709d49edc30284 [file] [log] [blame]
/*
* Copyright (C) 2019-2022 The SymbiFlow Authors
*
* Use of this source code is governed by a ISC-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/ISC
*
* SPDX-License-Identifier: ISC
*/
#ifndef _SET_MAX_DELAY_H_
#define _SET_MAX_DELAY_H_
#include "kernel/register.h"
#include "kernel/rtlil.h"
#include "sdc_writer.h"
USING_YOSYS_NAMESPACE
struct SetMaxDelay : public Pass {
SetMaxDelay(SdcWriter &sdc_writer) : Pass("set_max_delay", "Specify maximum delay for timing paths"), sdc_writer_(sdc_writer) {}
void help() override;
void execute(std::vector<std::string> args, RTLIL::Design *design) override;
SdcWriter &sdc_writer_;
};
#endif //_SET_MAX_DELAY_H_