mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-03 04:41:22 +00:00
cmdref: Assign rmports to greenpak group
Also tidy `#include`s.
This commit is contained in:
parent
6f96f9c373
commit
40b207d625
1 changed files with 7 additions and 4 deletions
|
@ -17,17 +17,20 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kernel/register.h"
|
|
||||||
#include "kernel/sigtools.h"
|
#include "kernel/sigtools.h"
|
||||||
#include "kernel/log.h"
|
#include "kernel/yosys.h"
|
||||||
#include <stdlib.h>
|
#include "kernel/log_help.h"
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
USING_YOSYS_NAMESPACE
|
USING_YOSYS_NAMESPACE
|
||||||
PRIVATE_NAMESPACE_BEGIN
|
PRIVATE_NAMESPACE_BEGIN
|
||||||
|
|
||||||
struct RmportsPassPass : public Pass {
|
struct RmportsPassPass : public Pass {
|
||||||
RmportsPassPass() : Pass("rmports", "remove module ports with no connections") { }
|
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
|
void help() override
|
||||||
{
|
{
|
||||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue