Welcome to Amiga Vampire Accelerators
Home Order Vampire V2 Accelerator FAQ Topics
  Login/Create an Account    

Menu

Amiga600_FPGA.gif Vampire 1200 V2
· About
· Core updates
tree-L2.gif Peripherals
tree-T.gif Trapdoor
tree-T.gif IDE
tree-T.gif F-Panel
tree-T.gif Ethernet
tree-T.gif Expansion
tree-T.gif JTAG
tree-T.gif Video out
tree-L.gif MicroSD
· All News

Amiga600_FPGA.gif Vampire 600 V2
· About
· Core updates
tree-L2.gif Peripherals
tree-T.gif PLCC-68 socket
tree-T.gif JTAG
tree-T.gif Video out
tree-L.gif MicroSD
· All News

Amiga600_FPGA.gif Vampire 500 V2
· About
· Core updates
tree-L2.gif Peripherals
bar.gif DIL-64 socket
bar.gif IDE
bar.gif Ethernet
bar.gif JTAG
bar.gif Video out
tree-L.gif MicroSD
· All News

Amiga600_FPGA.gif Vampire 600 V1
tree-L2.gif About
tree-T.gif Schematics
tree-T.gif Core
tree-L.gif Soldering
· Terms of service
· Ordering
· Tecnical support
· Core upload
· Vampire 600 map
· All News

Amiga600_FPGA.gif Vampire 500 V1
· All News

Amiga600_FPGA.gif Amiga FPGA Accelerator
· Introduction
· Pictures
· Voltage Level Translation
· Sharing ideas
· Who helped?
· Contact info

Amiga_Ball.gif Amiga Talk Talk
· Amiga 1200 Coldfire
· Talk regarding A608
· Amiga PPC

icon_members.gif Amiga Repair
· Amiga 600 restoration
· Mouse repair
· Cold solder joint
· Amiga 600 repair
· Keyboard repair

favoritos.gif Amiga Tutorials
· Install WB from WinUAE
· Play HAM Video

som_themes.gif Amiga Testings
· Amiga 600 plays video
icon_community.gif Forum
nuke.gif Downloads
home.gif Web Hosting
som_downloads.gif Web links

68k Dev Log: Musashi (68k reference) integrated into ModelSim – Step 1
68k Dev Log

Musashi running inside ModelSim (Step 1 kit)

Today I finished a small but important tooling milestone: a working setup where the Musashi 68k emulator is callable from a ModelSim testbench. This gives me a practical reference CPU inside simulation, which is useful for verification and for building repeatable regression tests.

To keep this easy for others to reproduce, I’m sharing a pre-made ZIP kit that contains: the folder structure, VHDL package/testbench files, and text instructions (manual steps).

Download

File: Musashi_ModelSim_Step1_Kit_manual_v1
What it is: a ready-to-unzip scaffold + manual build/run instructions.

What you need
  • ModelSim (tested with ModelSim Altera / Quartus 13.x)
  • MinGW (GCC) for building the Musashi reference DLL
Quick idea of how it works
  • Musashi is compiled as a DLL that ModelSim can load.
  • A small VHDL package exposes a clean interface from VHDL to the DLL.
  • The included testbench can produce a simple execution/bus trace.
What you should see
  • ModelSim successfully loads the Musashi DLL (no FLI/DLL errors).
  • The testbench runs and produces a text trace file.
  • You can open waves for the testbench signals (clock/reset/state/trace events).
Next steps

This Step 1 kit is only the foundation. Next I’ll use it to build a real verification flow:

  • Step 2: standardize a bus/PC trace format (so runs are comparable)
  • Step 3: run the same tiny programs on two models and diff the traces
  • Step 4: turn it into a regression test that catches CPU/RTL bugs early
Credits

Musashi emulator by Karl Stenerud. This kit is only an integration scaffold + notes.

Notes / disclaimer

This is a developer tool and may evolve quickly. If something changes, I’ll publish updated kits as follow-up posts (Step 2 / Step 3).



ModelSim + Musashi reference running

Posted by majsta on Monday, December 22 2025 @ 23:09:36 CET (103 reads)
(Read More, Pictures, Files... | Score: 0)

Vampire / Discord
Join the Vampire Discord

User panel
Welcome, Anonymous
Nickname
Password
(Register)
Membership:
Latest: hungrymarmot
New Today: 0
New Yesterday: 0
Overall: 100

People Online:
Visitors: 11
Members: 0
Total: 11

How to get Vampire card?
Express Interest Contact form

ALINEA COMPUTER SHOP

eBay store

AdSense_advert

Web site powered by PHP-Nuke

© MAJSTA – All content, logos, and trademarks related to Vampire Accelerators for Amiga computers are owned and developed by MAJSTA.
Other logos and trademarks are the property of their respective owners.
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.087 Seconds