X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FDDR2.ship;h=4689e4e38d87427c8ff7fa37d4dc02bdbabb923e;hb=cbafca81451a452015ea365b3546c3bc0ac7bdbd;hp=ab670700111ddcd4523b38de888723f16ac923a8;hpb=49461b2183ca317f74caad1f3c75f9d4b2299c4b;p=fleet.git diff --git a/ships/DDR2.ship b/ships/DDR2.ship index ab67070..4689e4e 100644 --- a/ships/DDR2.ship +++ b/ships/DDR2.ship @@ -206,7 +206,7 @@ always @(posedge clk) begin end end else if (app_wdf_afull || app_af_afull) begin /* wait */ - end else if (`inAddrWrite_full && `inDataWrite_full) begin + end else if (`inAddrWrite_full && `inDataWrite_full && `out_empty) begin `drain_inDataWrite `drain_inAddrWrite app_wdf_data <= inDataWrite_d; @@ -215,10 +215,10 @@ always @(posedge clk) begin app_af_wren <= 1; app_wdf_wren <= 1; burst_count <= 7; - out_d <= { phy_init_done /*1'b1*/, 37'b0 }; + out_d <= { 1'b1, 37'b0 }; mask <= 8'b00000000; `fill_out - end else if (`inAddrRead_full) begin + end else if (`inAddrRead_full && `out_empty) begin `drain_inAddrRead app_af_addr <= { inAddrRead_d, 2'b00 }; app_af_cmd <= 3'b001;