OpenCores
URL https://opencores.org/ocsvn/bluespec-h264/bluespec-h264/trunk

Subversion Repositories bluespec-h264

[/] [bluespec-h264/] [trunk/] [src/] [mkCalc_nC.bsv] - Diff between revs 2 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 13
Line 47... Line 47...
   endrule
   endrule
 
 
   rule sendReq ( waiting == 1 && reqCount > 0 );
   rule sendReq ( waiting == 1 && reqCount > 0 );
      Bit#(PicWidthSz)          temp2 = truncate(currMbHor);
      Bit#(PicWidthSz)          temp2 = truncate(currMbHor);
      Bit#(TAdd#(PicWidthSz,1)) temp  = {bit1,temp2};
      Bit#(TAdd#(PicWidthSz,1)) temp  = {bit1,temp2};
      memReqQ.enq(LoadReq temp );
      memReqQ.enq(LoadReq (temp) );
      reqCount <= reqCount-1;
      reqCount <= reqCount-1;
   endrule
   endrule
 
 
   rule receiveResp ( waiting == 1 &&& respCount > 0 &&& memRespQ.first() matches tagged LoadResp .data );
   rule receiveResp ( waiting == 1 &&& respCount > 0 &&& memRespQ.first() matches tagged LoadResp .data );
      if( respCount == 2 )
      if( respCount == 2 )
Line 131... Line 131...
                  waiting <= 1;
                  waiting <= 1;
                  reqCount <= 1;
                  reqCount <= 1;
                  respCount <= 2;
                  respCount <= 2;
                  Bit#(PicWidthSz)          temp2 = truncate(currMbHor);
                  Bit#(PicWidthSz)          temp2 = truncate(currMbHor);
                  Bit#(TAdd#(PicWidthSz,1)) temp  = {bit0,temp2};
                  Bit#(TAdd#(PicWidthSz,1)) temp  = {bit0,temp2};
                  memReqQ.enq(LoadReq temp );
                  memReqQ.enq(LoadReq (temp) );
                  //$display( "ERROR EntropyDec: mkCalc_nC loadMb incomplete" );
                  //$display( "ERROR EntropyDec: mkCalc_nC loadMb incomplete" );
               end
               end
         end
         end
   endmethod
   endmethod
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.