summaryrefslogtreecommitdiff
path: root/sim/ucsim/doc/vcd.html
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /sim/ucsim/doc/vcd.html
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'sim/ucsim/doc/vcd.html')
-rw-r--r--sim/ucsim/doc/vcd.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/sim/ucsim/doc/vcd.html b/sim/ucsim/doc/vcd.html
new file mode 100644
index 0000000..96cb191
--- /dev/null
+++ b/sim/ucsim/doc/vcd.html
@@ -0,0 +1,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>