Apply 'make format'
This commit is contained in:
parent
999de10991
commit
17f2c7ed10
|
|
@ -440,7 +440,8 @@ void VerilatedSaif::declare(uint32_t code, const char* name, const char* wirep,
|
||||||
assert(m_currentScope >= 0);
|
assert(m_currentScope >= 0);
|
||||||
m_scopes.at(m_currentScope).addActivityVar(code, std::move(finalName));
|
m_scopes.at(m_currentScope).addActivityVar(code, std::move(finalName));
|
||||||
|
|
||||||
m_activity.emplace(code, ActivityVar{static_cast<uint32_t>(bits), m_activityArena.back().data() + bitsIdx});
|
m_activity.emplace(
|
||||||
|
code, ActivityVar{static_cast<uint32_t>(bits), m_activityArena.back().data() + bitsIdx});
|
||||||
}
|
}
|
||||||
|
|
||||||
void VerilatedSaif::declEvent(uint32_t code, uint32_t fidx, const char* name, int dtypenum,
|
void VerilatedSaif::declEvent(uint32_t code, uint32_t fidx, const char* name, int dtypenum,
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,8 @@ public:
|
||||||
|
|
||||||
template <typename DataType>
|
template <typename DataType>
|
||||||
VL_ATTR_ALWINLINE void emitData(uint64_t time, DataType newval, uint32_t bits) {
|
VL_ATTR_ALWINLINE void emitData(uint64_t time, DataType newval, uint32_t bits) {
|
||||||
static_assert(std::is_integral<DataType>::value, "The emitted value must be of integral type");
|
static_assert(std::is_integral<DataType>::value,
|
||||||
|
"The emitted value must be of integral type");
|
||||||
|
|
||||||
uint64_t dt = time - m_lastTime;
|
uint64_t dt = time - m_lastTime;
|
||||||
for (size_t i = 0; i < std::min(m_width, bits); i++) {
|
for (size_t i = 0; i < std::min(m_width, bits); i++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue