• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
        • Vwsim-users-guide
          • Vwsim-tutorial
          • Vwsim-output
          • Vwsim-input
          • Vwsim-build-and-setup
            • Vwsim-commands
        • Isar
        • Pfcs
        • Wp-gen
        • Dimacs-reader
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • Bitcoin
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Vwsim-users-guide

    Vwsim-build-and-setup

    How to build the VWSIM simulator.

    Building VWSIM

    Note for new ACL2 users: the VWSIM simulator is written in ACL2. If you are unfamiliar with ACL2, please check out ACL2 for more information. The instructions to download and build ACL2 can be found here. Once ACL2 has been installed on your system, please follow the steps below.

    To build the simulator, navigate to the VWSIM directory in the ACL2 books. Then, certify the book top.

    For example, navigate to the VWSIM directory, and run the following command:

    [ACL2]/books/build/cert.pl top

    where [ACL2] is the directory where ACL2 is installed.

    Running VWSIM

    Start ACL2 and run the following form at the prompt:

    (ld "driver.lsp")

    That's it! VWSIM should be loaded and ready to simulate circuits. Please go to vwsim-users-guide for information on how to use the simulator.