Apply 'make format' [ci skip]
This commit is contained in:
parent
44fe96b2da
commit
098f375e9d
|
|
@ -3119,12 +3119,8 @@ void VerilatedContext::assertOnClear(VerilatedAssertType_t types,
|
|||
if (assertCtlsLocked()) return;
|
||||
m_s.m_assertOn &= ~assertOnMask(types, directives);
|
||||
}
|
||||
bool VerilatedContext::assertCtlsLocked() const VL_MT_SAFE {
|
||||
return m_ns.m_assertCtlsLocked;
|
||||
}
|
||||
void VerilatedContext::assertCtlsLocked(bool flag) VL_MT_SAFE {
|
||||
m_ns.m_assertCtlsLocked = flag;
|
||||
}
|
||||
bool VerilatedContext::assertCtlsLocked() const VL_MT_SAFE { return m_ns.m_assertCtlsLocked; }
|
||||
void VerilatedContext::assertCtlsLocked(bool flag) VL_MT_SAFE { m_ns.m_assertCtlsLocked = flag; }
|
||||
void VerilatedContext::assertCtl(uint32_t controlType, VerilatedAssertType_t types,
|
||||
VerilatedAssertDirectiveType_t directives) VL_MT_SAFE {
|
||||
// IEEE 1800-2023 Table 20-5 control_type. Lock freezes the On/Off state of the
|
||||
|
|
|
|||
|
|
@ -450,7 +450,8 @@ protected:
|
|||
// A worker queues $finish before the main thread callback can set m_gotFinish.
|
||||
std::atomic<uint32_t> m_finishPending{0}; // Number of queued $finish callbacks
|
||||
std::atomic<uint64_t> m_finishPendingTime{TIME_UNSET}; // Time of the first callback
|
||||
std::atomic<bool> m_assertCtlsLocked{false}; // When true, all assertion-control updates are ignored
|
||||
std::atomic<bool> m_assertCtlsLocked{
|
||||
false}; // When true, all assertion-control updates are ignored
|
||||
int m_stopReserved = 0; // Posted $stop requests not yet executed
|
||||
bool m_executingFinal = false; // Running generated final() code
|
||||
uint64_t m_profExecStart = 1; // +prof+exec+start time
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@ import vltest_bootstrap
|
|||
test.scenarios('vlt')
|
||||
test.top_filename = "t_assert_ctl_lock_arg.v"
|
||||
|
||||
test.compile(
|
||||
verilator_flags2=["--binary --assert +define+T_ASSERT_CTL_LOCK_ARG_NOASSERT"])
|
||||
test.compile(verilator_flags2=["--binary --assert +define+T_ASSERT_CTL_LOCK_ARG_NOASSERT"])
|
||||
|
||||
test.execute(all_run_flags=["+verilator+noassert", "+verilator+assert+lock"])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue