zhelnio / ahb_lite_sdram

SDRAM controller for MIPSfpga+ system
MIT License
20 stars 7 forks source link

A small bug report for "03_AhbLiteRwMaster.bat" #5

Open jackzhang1992 opened 6 years ago

jackzhang1992 commented 6 years ago

@zhelnio Today I want to report a small bug.

When I run: 03_AhbLiteRwMaster.bat the waveform is as follows: (Something goes wrong because HREADY isn't active even once.)

before

Then I figured that 01_AhbLiteMem.bat uses a different ahb_lite_mem.v as 03_AhbLiteRwMaster.bat does.

Then I changed the 66 line of ahb_lite_sdram/src/testbench/test_ahb_lite_rw_master.v to

        .HREADY     (   1'b1        ), //changed
        .HREADYOUT  (   HREADY      ), //changed

After that, the waveform looks the way as it should be. after

Thank you for your awesome work to the mipsfpga+ project.