Guest pepevi

Avr8 cleanup

Recommended Posts

Guest pepevi

Jack (or whom it may concern),

There is a tar.gz in

https://github.com/GadgetFactory/Arduino-Soft-Core/tree/master/sources

which differs from the source files. Specifically,

https://github.com/GadgetFactory/Arduino-Soft-Core/blob/master/sources/Memory/XPM8Kx16.vhd

makes use of CPROGMEMSIZE and the one in the tar doesn't.

Is there a reason or should the tar.gz be removed?

Regards.  :)

Share this post


Link to post
Share on other sites
Guest pepevi

Also:

Papilio_AVR8.vhd was compiling ok but when trying to simulate in ModelSim there was an unbound error.

Replace:

Line 305: AVR_Core_Inst: AVR_Core port map(

with:

AVR_Core_Inst:component AVR_Core port map(

Share this post


Link to post
Share on other sites

Hello pepevi,

The tar.gz file in that directory is the original unmodified source downloaded from the Opencores website.

It probably makes sense to move it into a directory called original-source or something like that so it is not so confusing.

I'll look at the Simulation issue, most likely since the top level name changed there needs to be changes in the test bench.

Jack.

Share this post


Link to post
Share on other sites
Guest pepevi

Jack,

I'm already simulating the new core, I'll post the testbench when I have the time to clean it up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now