blob: 4d417672c7929e17bda3a22648dd5d3e7533e7b3 [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_CLOCK_GROUPS_H_
#define _SET_CLOCK_GROUPS_H_
#include "kernel/register.h"
#include "kernel/rtlil.h"
#include "sdc_writer.h"
USING_YOSYS_NAMESPACE
struct SetClockGroups : public Pass {
SetClockGroups(SdcWriter &sdc_writer) : Pass("set_clock_groups", "Set exclusive or asynchronous clock groups"), sdc_writer_(sdc_writer) {}
void help() override;
void execute(std::vector<std::string> args, RTLIL::Design *design) override;
SdcWriter &sdc_writer_;
};
#endif //_SET_CLOCK_GROUPS_H_