CIRCT  19.0.0git
Namespaces | Macros | Functions
MakeTables.cpp File Reference
#include "circt/Dialect/Arc/ArcOps.h"
#include "circt/Dialect/Arc/ArcPasses.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/Pass/Pass.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/Arc/ArcPasses.h.inc"
Include dependency graph for MakeTables.cpp:

Go to the source code of this file.

Namespaces

 circt
 This file defines an intermediate representation for circuits acting as an abstraction for constraints defined over an SMT's solver context.
 
 circt::arc
 

Macros

#define DEBUG_TYPE   "arc-lookup-tables"
 
#define GEN_PASS_DEF_MAKETABLES
 

Functions

static uint32_t bitsMask (uint32_t nbits)
 
static uint32_t bitsGet (uint32_t x, uint32_t lb, uint32_t ub)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arc-lookup-tables"

Definition at line 17 of file MakeTables.cpp.

◆ GEN_PASS_DEF_MAKETABLES

#define GEN_PASS_DEF_MAKETABLES

Definition at line 21 of file MakeTables.cpp.

Function Documentation

◆ bitsGet()

static uint32_t bitsGet ( uint32_t  x,
uint32_t  lb,
uint32_t  ub 
)
inlinestatic

Definition at line 47 of file MakeTables.cpp.

References bitsMask().

◆ bitsMask()

static uint32_t bitsMask ( uint32_t  nbits)
inlinestatic

Definition at line 41 of file MakeTables.cpp.

Referenced by bitsGet().