6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 11:53 pm

All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Mar 14, 2022 12:26 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
Welcome! From up-thread
> Total Instructions: 30646866


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 14, 2022 1:08 pm 
Offline

Joined: Mon Mar 14, 2022 10:13 am
Posts: 2
Thanks!, sorry missed that. I don't mind being out with the cycles (as I can fix that) but being out by instructions puzzles me. But I am running the test to completion with 1,183 extra instructions. Weird.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 14, 2022 1:10 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
That is puzzling... just possibly two different builds of the test suite?


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 15, 2022 6:46 pm 
Offline
User avatar

Joined: Tue Jul 20, 2021 1:41 pm
Posts: 4
With the current test suite, 6502_functional_test.bin, at https://github.com/Klaus2m5/6502_65C02_functional_tests,
I get 96241364 total cycles and 30646175 total instructions executed (not including the final JMP).


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 21, 2022 10:24 pm 
Offline

Joined: Thu Nov 03, 2011 5:50 pm
Posts: 10
Location: San Francisco, CA, USA
I thought I'd add this to this thread: I ran Klaus' functional test (commit 7954e2d on Jan 5, 2020)
on Andrew Holme's Verilog 6502 Model (see http://www.aholme.co.uk/6502/Main.htm).
I used Xilinx Vivado to run the simulation. Results:

96,241,376 cycles
30,646,178 instructions

It took 16 hours 35 minutes to run.

The cycle count includes 8 cycles during the reset sequence before the first instruction at 0x400 is
executed. The instruction count includes two "JMP $3469" instructions, the infinite loop upon
passing the test.

--Thomas


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: