title: How can I view my simulation results from Active-HDL in a waveform window?
body: <p>I extended my testbench scripts with Active-HDL support. Active-HDL behaves mostly like QuestaSim or ModelSim, even the command line arguments are similar.</p>
  
  <p>I have an Active-HDL Student Edition and Active-HDL Lattice Edition from Lattice Diamond 3.7 installed. I'm currently using the latter one, because this version is shipped with a full vsimsa (vsim standalone) environment.</p>
  
  <p>My scripts processes the selected testbench in 3 steps:</p>
  
  <ol>
  <li>It creates all necessary VHDL libraries with <code>vlib.exe</code> (alib)</li>
  <li>It compiles all VHDL source files with <code>vcom.exe</code> (acom)</li>
  <li>It launches <code>vsimsa.exe</code> with a TCL command:<br>
  <code>asim -lib test arith_prng_tb; run -all; bye</code></li>
  </ol>
  
  <p>The simulation runs and shows a good output:</p>
  
  <pre><code>VHDL/Verilog/EDIF/SystemC Simulator 10.2.3312.5682.02
  (c) 1997-2015 Aldec, Inc. All rights reserved.
  VSIMSA: Configuration files: `D:\git\PoC\temp\activehdl\library.cfg', `D:\Lattice\diamond\3.7_x64\active-hdl\BIN\vsimsa.cfg'
   Welcome to VSIMSA!
   This message was printed from `startup.do' macro file.
  
  asim -lib test arith_prng_tb; run -all; bye
  VSIM: Selected architecture `tb' of entity `arith_prng_tb' from library `test'.
  ....
  ....
  KERNEL: ASDB file was created in location D:\git\PoC\temp\activehdl\wave.asdb
  ========================================
  POC TESTBENCH REPORT
  ========================================
  Tests          2
   -1: Default test
    0: Test setup for BITS=8; SEED=0x12
  
  Overall
    Assertions   256
      failed     0
    Processes    3
      active     0
    Runtime      2.6 us
  ========================================
  SIMULATION RESULT = PASSED
  ========================================
  Simulation has finished. There are no more test vectors to simulate.
  </code></pre>
  
  <p>As one can see, asim creates a <strong><code>wave.asdb</code></strong> file, which can be loaded from the GUI, but it's empty (no signals).</p>
  
  <p>So my questions are:</p>
  
  <ul>
  <li>How can I trace signals into that waveform database file?</li>
  <li>How can I open this file from command line in the GUI?</li>
  </ul>