CIRCT 23.0.0git
Loading...
Searching...
No Matches
Functions
Statements.cpp File Reference
#include "ImportVerilogInternals.h"
#include "circt/Dialect/Moore/MooreOps.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/Diagnostics.h"
#include "slang/ast/Compilation.h"
#include "slang/ast/SemanticFacts.h"
#include "slang/ast/Statement.h"
#include "slang/ast/SystemSubroutine.h"
#include "slang/ast/expressions/MiscExpressions.h"
#include "slang/ast/symbols/CompilationUnitSymbols.h"
#include "slang/ast/symbols/InstanceSymbols.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for Statements.cpp:

Go to the source code of this file.

Functions

static std::string buildPrintTimeScaleMessage (Context &context, std::span< const slang::ast::Expression *const > args)
 Build the message printed by the $printtimescale system task.
 

Function Documentation

◆ buildPrintTimeScaleMessage()

static std::string buildPrintTimeScaleMessage ( Context context,
std::span< const slang::ast::Expression *const >  args 
)
static

Build the message printed by the $printtimescale system task.

If a module instance or $unit is passed as argument, report that scope's time scale; otherwise report the time scale of the current scope.

Definition at line 31 of file Statements.cpp.

References context.