Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa

Changes to "LogProcessor" between 2013-03-26 05:30:45 and 2013-04-02 16:19:50

︙
24
25
26
27
28
29
30








31
32
33
34
35
36
37
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45







+
+
+
+
+
+
+
+







In a Makefile:
<verbatim>
simlog.html : cpu.v
       verilog cpu.v | logpro cpu.logpro simlog.html
</verbatim>

The benefit in using logpro calls in a Makefile is that the exit code can be trusted to reflect the pass/fail status correctly. See the [./doc/tip/example.logpro] (which operates on [./doc/tip/example.log] and produces [./doc/tip/example.html]) in the source repository)

<h3>Exit Codes</h3>
<table border=1>
<tr><td>All ok</td>  <td>0</td></tr>
<tr><td>ERROR</td>   <td>1</td></tr>
<tr><td>WARNING</td> <td>2</td></tr>
<tr><td>CHECK</td>   <td>3</td></tr>
</table>

<h3>[Installation]</h3>

<h3>Command file details</h3>
Your command file is written in scheme but don't let that scare you. Only a handful of single line stanzas are needed to write a rock solid log analyzer. Here is an [example command file] and the [logpro output] from running against this [example log file]

More examples can be seen in the example.logpro file in the source directory [http://www.kiatoa.com/fossils/logpro/doc/tip/example.logpro]
︙