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

#include <modtools.h>

+ Collaboration diagram for ModWalker::PortBit:

Public Member Functions

bool operator< (const PortBit &other) const
 

Data Fields

RTLIL::Cellcell
 
RTLIL::IdString port
 
int offset
 

Detailed Description

Definition at line 183 of file modtools.h.

Member Function Documentation

bool ModWalker::PortBit::operator< ( const PortBit other) const
inline

Definition at line 189 of file modtools.h.

189  {
190  if (cell != other.cell)
191  return cell < other.cell;
192  if (port != other.port)
193  return port < other.port;
194  return offset < other.offset;
195  }
RTLIL::Cell * cell
Definition: modtools.h:185
RTLIL::IdString port
Definition: modtools.h:186

Field Documentation

RTLIL::Cell* ModWalker::PortBit::cell

Definition at line 185 of file modtools.h.

int ModWalker::PortBit::offset

Definition at line 187 of file modtools.h.

RTLIL::IdString ModWalker::PortBit::port

Definition at line 186 of file modtools.h.


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