Changes between Version 63 and Version 64 of WikiStart


Ignore:
Timestamp:
Apr 18, 2019, 10:11:54 PM (7 months ago)
Author:
dsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v63 v64  
    11=== Overview ===
    22
    3  MCUSim is a digital simulator of the 8-bit microcontrollers. It is written
    4  from scratch to assist in circuit simulation, firmware debugging, testing
     3 MCUSim is a digital simulator and NGSpice library with microcontrollers.
     4 It is created to assist in circuit simulation, firmware debugging, testing
    55 and signal tracing.
    66
    7  Please note that the AVR chips are aimed at the moment. Feel free to start
    8  a discussion about a support of any other family or architecture of the
    9  microcontrollers.
     7 Please note that the 8-bit AVR (RISC) microcontrollers are aimed at the
     8 moment. Feel free to start a discussion about any other family or
     9 architecture of the microcontrollers.
    1010
    11  There is an mcusim.conf configuration file installed together with the binary
    12  and libmsim which can be used to tweak the program. The best way to prepare
    13  your own simulation is to copy it to a new directory, adjust the options and
    14  run mcusim. Firmware and Lua files can be placed there also.
     11=== Screenshots ===
     12[[Image(ngspice-simulation.png, 75%, center)]]
    1513
    16  Scripts written in Lua can be used to represent models of the real devices
    17  during a simulation process. They may affect state of the chip in several
    18  ways, e.g. access internal registers, generate signals on its pins or
    19  terminate the whole simulation, and play roles of the significant parts of a
    20  circuit (external EEPROM, humidity sensor, MOSFET switch, etc).
     14=== Description ===
    2115
    22  Registers of a simulated MCU can be saved into a VCD (value change dump)
    23  file and read using [http://gtkwave.sourceforge.net/ GTKWave] viewer.
     16 There is an mcusim.conf configuration file installed together with the mcusim
     17 binary and libmsim which can be used to tweak the program.
     18
     19 The best way to prepare your own simulation is to copy mcusim.conf to a new
     20 directory, adjust the options and run the simulator. Firmware and Lua files
     21 should also be placed there.
     22
     23 Lua scripts can be used to substitute models of the real devices during a
     24 simulation process. They may affect state of the chip in several ways, e.g.
     25 access registers, generate signals or terminate MCU.
     26
     27 Scripts are supposed to be external devices connected to the MCU of the
     28 simulated circuit (external EEPROM, humidity sensor, MOSFET switch, etc).
     29
     30 Registers of the simulated MCU can be saved into a VCD (value change dump)
     31 file and read using GTKWave viewer.
    2432
    2533=== Download ===