simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] [patch #6781] Verilog VPI interface code (update & exam


From: Onno Kortmann
Subject: [Simulavr-devel] [patch #6781] Verilog VPI interface code (update & examples)
Date: Thu, 12 Mar 2009 00:42:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.19) Gecko/20081202 Iceweasel/2.0.0.19 (Debian-2.0.0.19-0etch1)

URL:
  <http://savannah.nongnu.org/patch/?6781>

                 Summary: Verilog VPI interface code (update & examples)
                 Project: Simulavr: an AVR simulator
            Submitted by: onnokort
            Submitted on: Do 12 Mär 2009 01:42:54 CET
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Major update of the Verilog VPI interface for SimulAVR.

The following two patches contain
1. an update of the verilog interface
2. a small set of examples for the verilog code


The changes to the interface are:
 - some parts of the interface are functions,
   some are tasks now (whatever fits better)
 - new methods to read/write the memory and read the program
   counter as well as to start the simulavrxx tracing
   functionality.

 - fixed a lot of memory leaks.


The examples patch contains one slightly more elaborate example which
implements a single-pin communication protocol between two AVRs. The waveform
on the wire as well as the program counters
and other states of the AVRs can be nicely viewed in GTKWave.

Note that the VPI interface will leak quite a lot of memory for longer runs.
This is due to the memory leak bug which had been patched with the message
"bugfix: memoryleakage fixed in Pin() (patch 0006 from Onno Kortmann,
thanks)".
Unfortunately, this patch breaks other stuff, but when using the
verilog interface only, it should still be applied, as I noted no ill effects
or came up with bad scenarios where this would
crash the verilog simulation.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Do 12 Mär 2009 01:42:54 CET  Name: verilog-update.patch  Size: 18kB  
By: onnokort

<http://savannah.nongnu.org/patch/download.php?file_id=17656>
-------------------------------------------------------
Date: Do 12 Mär 2009 01:42:54 CET  Name: verilog-examples.patch  Size: 33kB 
 By: onnokort

<http://savannah.nongnu.org/patch/download.php?file_id=17657>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6781>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]