|
CIRCT 23.0.0git
|
#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"
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. | |
|
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.