PDA

View Full Version : Ladybug hardware on DE1


tcdev
27th October 2008, 01:50 PM
I've got the Ladybug hardware (Ladybug, Dorodon & Cosmic Avenger) running on the DE1. Due to space limitations, the cpu rom must be programmed into the flash, at offset $0000.

The simplest way to create the binary is to extract the hex files from the repository and use the freely-available hex2bin utility to create binary versions of the 2-part CPU rom file, then concatenate them with copy /b.

Finally, program the flash using the DE1 control panel.

You can of course use the CAVENGER .SOF file to play any of the supported games - there is no need to build LADYBUG or DORODON projects for the DE1.

I will probably add a couple of switches controlling the flash address lines A15 and A16 so you can program the flash with all 3 rom images and switch between them at will.

Dirk
27th October 2008, 06:22 PM
Hi Mark,

compiling ladybug fails with severals error messages because some units are missing.
i.e ladybug_dip_pack and ladybug_machine


greetings

Dirk

tcdev
27th October 2008, 10:35 PM
Probably my fault for not making this clear...

For Ladybug, and other projects ported from other sources that include a tarball in the PACE source repository, you need to extract the original source into the current directory (preserving folder names), and then rename the top-level directory to 'unzip'.

This way, if an update to the original project is released, the pathnames in the PACE project will remain unchanged.

FWIW I just re-extracted the Ladybug source myself, and deleted my Quartus 'db' directory, and rebuilt, and it built fine.

Dirk
28th October 2008, 11:26 AM
Sorry, it was my fault. I didn“t read the readme file.:(
Now it works here,too. :)