yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
synth.cc File Reference
#include "kernel/register.h"
#include "kernel/celltypes.h"
#include "kernel/rtlil.h"
#include "kernel/log.h"
+ Include dependency graph for synth.cc:

Go to the source code of this file.

Data Structures

struct  SynthPass
 

Functions

USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN bool 
check_label (bool &active, std::string run_from, std::string run_to, std::string label)
 

Variables

SynthPass SynthPass
 

Function Documentation

USING_YOSYS_NAMESPACE PRIVATE_NAMESPACE_BEGIN bool check_label ( bool &  active,
std::string  run_from,
std::string  run_to,
std::string  label 
)

Definition at line 28 of file synth.cc.

29 {
30  if (!run_from.empty() && run_from == run_to) {
31  active = (label == run_from);
32  } else {
33  if (label == run_from)
34  active = true;
35  if (label == run_to)
36  active = false;
37  }
38  return active;
39 }

+ Here is the caller graph for this function:

Variable Documentation