yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RTLIL::SyncRule Struct Reference

#include <rtlil.h>

+ Collaboration diagram for RTLIL::SyncRule:

Public Member Functions

template<typename T >
void rewrite_sigspecs (T functor)
 
RTLIL::SyncRuleclone () const
 

Data Fields

RTLIL::SyncType type
 
RTLIL::SigSpec signal
 
std::vector< RTLIL::SigSigactions
 

Detailed Description

Definition at line 1142 of file rtlil.h.

Member Function Documentation

RTLIL::SyncRule * RTLIL::SyncRule::clone ( ) const

Definition at line 3138 of file rtlil.cc.

3139 {
3140  RTLIL::SyncRule *new_syncrule = new RTLIL::SyncRule;
3141  new_syncrule->type = type;
3142  new_syncrule->signal = signal;
3143  new_syncrule->actions = actions;
3144  return new_syncrule;
3145 }
RTLIL::SyncType type
Definition: rtlil.h:1144
RTLIL::SigSpec signal
Definition: rtlil.h:1145
std::vector< RTLIL::SigSig > actions
Definition: rtlil.h:1146
template<typename T >
void RTLIL::SyncRule::rewrite_sigspecs ( functor)

Definition at line 1205 of file rtlil.h.

1206 {
1207  functor(signal);
1208  for (auto &it : actions) {
1209  functor(it.first);
1210  functor(it.second);
1211  }
1212 }
RTLIL::SigSpec signal
Definition: rtlil.h:1145
std::vector< RTLIL::SigSig > actions
Definition: rtlil.h:1146

Field Documentation

std::vector<RTLIL::SigSig> RTLIL::SyncRule::actions

Definition at line 1146 of file rtlil.h.

RTLIL::SigSpec RTLIL::SyncRule::signal

Definition at line 1145 of file rtlil.h.

RTLIL::SyncType RTLIL::SyncRule::type

Definition at line 1144 of file rtlil.h.


The documentation for this struct was generated from the following files: