simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bug #35195] ICALL simulation: wrong cycles


From: anonymous
Subject: [Simulavr-devel] [bug #35195] ICALL simulation: wrong cycles
Date: Fri, 30 Dec 2011 09:12:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

URL:
  <http://savannah.nongnu.org/bugs/?35195>

                 Summary: ICALL simulation: wrong cycles
                 Project: Simulavr: an AVR simulator
            Submitted by: None
            Submitted on: Fr 30 Dez 2011 09:12:24 UTC
                Category: Simulation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr

    _______________________________________________________

Details:

Hi,

working simulavr: git clone (one month ago)
processor:        atmega128

ICALL should take 3 cycles to execute, but the simulator finishes its
execution within one cycle.

(I need the cycle accuracy for a cycle accurate atmega128 written in VHDL)

./c_code/main.elf 0x02e8: test_assembler+0x108           {LDI R30, 0x00 }
./c_code/main.elf 0x02ea: test_assembler+0x109           {LDI R31, 0x01 } 
./c_code/main.elf 0x02ec: test_assembler+0x10a           {ICALL Z SP=0x10fa
0x77 SP=0x10f9 0x1 } 
./c_code/main.elf 0x0200: test_assembler+0x94            {FMULS R18, R19
SREG=[--H---Z-] } 

Best regards,
Erich




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35195>

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




reply via email to

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