File: vcd.html

package info (click to toggle)
sdcc 4.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 100,120 kB
  • sloc: ansic: 935,524; cpp: 75,055; makefile: 57,615; sh: 30,106; asm: 14,243; perl: 12,136; yacc: 7,297; lisp: 1,672; python: 815; lex: 781; awk: 498; sed: 89
file content (47 lines) | stat: -rw-r--r-- 1,397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
    <title>&#956;Csim: VCD file dumper</title>
  </head>
  <body>
    <h1>VCD file dumper</h1>
    <p>1. specify output file:<br>
      <br>
      0&gt; set hw vcd[0] file "name.vcd"<br>
      <br>
      2. add locations to dump (sorry, I didn't remember correctly, bits can not
      be dumped yet):<br>
      <br>
      0&gt; set hw vcd[0] add pc_odr<br>
      0&gt; set hw vcd[0] add rom[0x500a]<br>
      <br>
      You can set the name of the module if you want (set hw vcd[0] module
      name), it will be<br>
      ucsim_vcd_0 by default.<br>
      <br>
      3. start recording:<br>
      <br>
      0&gt; set hw vcd[0] start<br>
      <br>
      4. run the program</p>
    <p>5. you can suspend/resume recording:<br>
      <br>
      0&gt; set hw vcd[0] pause<br>
      0&gt; set hw vcd[0] restart<br>
      <br>
      You can create an additional recorder with "set hw vcd[0] new id" and
      setup it with "set<br>
      hw vcd[id] ..." commands ("id" must be a number).<br>
      <br>
      6. stop recording and close the vcd file:<br>
      <br>
      0&gt; set hw vcd[0] stop<br>
      <br>
      After "stop", you have to specify a new file, because "start" overwrites
      the old one!<br>
      <br>
      For examine, I use gtkwave on linux.<br>
    </p>
    <hr>
  </body>
</html>