Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a python script for the following I need a program to parse and analyze log files generated by UVM verification. i ' m providing
write a python script for the following
I need a program to parse and analyze log files generated by UVM verification.
im providing you some statements from the log file
# KERNEL: UVMINFO homerunneroutputmonitor.sv @ : uvmtesttop.env.outagt.outmon OUTPUT MON DATA WRITE Valid: data: readyout:
# KERNEL: UVMINFO homerunnerapbreferencemodel.sv @ : uvmtesttop.env.model outputref SCO DATA MATCHED :data:
# KERNEL: UVMINFO homerunneroutputdriver.sv @ : uvmtesttop.env.outagt.outdrv OUTDRV readysignal:
# KERNEL: UVMINFO homerunneroutputmonitor.sv @ : uvmtesttop.env.outagt.outmon OUTPUT MON DATA WRITE Valid: data: readyout:
# KERNEL: UVMINFO homerunnerapbreferencemodel.sv @ : uvmtesttop.env.model outputref SCO DATA MATCHED :data:
# KERNEL: UVMINFO homerunneroutputdriver.sv @ : uvmtesttop.env.outagt.outdrv OUTDRV readysignal:
# KERNEL: UVMINFO homerunneroutputmonitor.sv @ : uvmtesttop.env.outagt.outmon OUTPUT MON DATA WRITE Valid: data: readyout:
# KERNEL: UVMINFO homerunnerapbreferencemodel.sv @ : uvmtesttop.env.model outputref SCO DATA MATCHED :data:
# KERNEL: Report counts by severity
# KERNEL: UVMINFO :
# KERNEL: UVMWARNING :
# KERNEL: UVMERROR :
# KERNEL: UVMFATAL :
# KERNEL: Report counts by id
# KERNEL: OUTPUT MON
# KERNEL: OUTDRV
# KERNEL: outputref SCO
my python code should give the number of times output mon, OUTdrv etc has appears. and it should also give the line where it has occured. The code should be generic not specific for this Log file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started