3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-16 13:58:47 +00:00

cmdref: Assign rmports to greenpak group

Also tidy `#include`s.
This commit is contained in:
Krystine Sherwin 2025-03-21 10:28:47 +13:00
parent 6f96f9c373
commit 40b207d625
No known key found for this signature in database

View file

@ -17,17 +17,20 @@
*
*/
#include "kernel/register.h"
#include "kernel/sigtools.h"
#include "kernel/log.h"
#include <stdlib.h>
#include <stdio.h>
#include "kernel/yosys.h"
#include "kernel/log_help.h"
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
struct RmportsPassPass : public Pass {
RmportsPassPass() : Pass("rmports", "remove module ports with no connections") { }
bool formatted_help() override {
auto *help = PrettyHelp::get_current();
help->set_group("techlibs/greenpak4");
return false;
}
void help() override
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|