From 7c173f4c04908dd4f26bc8849ec35c7b8cfd7a54 Mon Sep 17 00:00:00 2001 From: Luke Harold Miles <10591373+qpwo@users.noreply.github.com> Date: Tue, 20 Feb 2024 11:21:55 -0800 Subject: [PATCH] add xterm configuration instructions --- doc/xschem_man/simulation.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/xschem_man/simulation.html b/doc/xschem_man/simulation.html index d879dec0..0836ca4b 100644 --- a/doc/xschem_man/simulation.html +++ b/doc/xschem_man/simulation.html @@ -36,6 +36,21 @@ p{padding: 15px 30px 10px;} After generating the netlist (for example poweramp.spice) the resulting SPICE netlist can be sent directly for simulation (for example hspice -i poweramp.spice for the Hspice(TM) simulator).

+

HELPFUL XTERM CONFIGURATION

+

By default, xschem runs all simulators in an xterm window. Here is some configuration to make xterm more usable:

+
+# enable copy/paste with Ctrl-Shift-C and Ctrl-Shift-V.
+# set font size to 18.
+echo '
+XTerm*VT100.Translations: #override \
+    Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
+    Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
+xterm*font:     *-fixed-*-*-*-18-*
+' >> ~/.Xresources
+
+# reload the configuration
+xrdb -merge ~/.Xresources
+    

VERILOG SIMULATION

This is a tutorial showing how to run a simulation with XSCHEM. The first important thing to