Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Verilator doesn't trace code below the primitive definition within same file #837
For the following code, Verilator will fail to trace the module @sub_t@
The XML file says the signals in @sub_t@ are all trace_off.
Original Redmine Comment
Both a test case and fix are push to my github. http://github.com/jiexu/verilator.git -b trace_primitive
The reason is because Verilator will start a @tracing_on(false)@ when @primitive@ occurs in the code. And the @tracing_on(false)@ will last to the end of that file.