mist-devel / fpgagen

SEGA Genesis/Megadrive core, running on the MIST
8 stars 6 forks source link

how to compile fpgagen? #70

Open nippur72 opened 4 years ago

nippur72 commented 4 years ago

I tried to compile fpgagen but the .rbf file I get is different (366.044 vs 366.065 bytes) from the latest fpgagen_200523 from mist-binaries. And more importantly it doesn't work at all - just a blank screen.

Is there something I have to do before compiling with Quartus? (I already did git submodule init and git submodule update). All the other cores I compile normally without issues.

gyurco commented 4 years ago

You won't get the same binary from Quartus ever. Even no OSD menu?

nippur72 commented 4 years ago

no OSD, no sync, just black screen.

I noticed that fpgagen.qpf is almost empty and my Quartus adds a ton of defaults. Perhaps is there a wrong one?

My Quartus II is 13.1.0 64 bit.

gyurco commented 4 years ago

These are the qpf and qsf files: https://github.com/mist-devel/fpgagen/blob/master/Board/mist/fpgagen.qpf https://github.com/mist-devel/fpgagen/blob/master/Board/mist/fpgagen.qsf 13.1.0 should be ok, however I recommend to install update 4, too.

nippur72 commented 4 years ago

I installed the update 4 and recompiled but it still doesn't work.

What is ridiculous is that I get three different file sizes without touching a single bit of the repo. And none of them is working.

 Directory di C:\Users\Nino1\FPGA_root\fpgagen\syn\mist  

29/05/2020  11:39           366.044 fpgagen_200529.rbf                      
21/06/2020  15:32           366.362 fpgagen_200621.rbf                      
22/06/2020  17:29           366.335 fpgagen_200622.rbf                      
gyurco commented 4 years ago

That's weird, my fpgagen git tree is clean, I just turn set PHYSICAL_SYNTHESIS_EFFORT to EXTRA when doing SVP builds, since the SVP code has a big timing violation in one place. But building without SVP would be non-issue. Maybe you can checkout an older revision and see if it works?

gyurco commented 4 years ago

I think I forgot to push the last commit which fixed this. Please check again.

nippur72 commented 4 years ago

I updated the repo and recompiled, but it's still not working.

15/07/2020  08:09           365.983 fpgagen.rbf
gyurco commented 4 years ago

Just cloned the repo freshly, init'ted and updated the submodules, and works well.