OpenCores
URL https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk

Subversion Repositories mkjpeg

[/] [mkjpeg/] [trunk/] [design/] [rle/] [RLE.VHD] - Diff between revs 36 and 39

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

Rev 36 Rev 39
Line 199... Line 199...
      -- ZRL processing
      -- ZRL processing
      if zrl_proc = '1' then
      if zrl_proc = '1' then
        if zero_cnt <= 15 then
        if zero_cnt <= 15 then
          acc_reg        <= RESIZE(SIGNED(zrl_di),RAMDATA_W+1);
          acc_reg        <= RESIZE(SIGNED(zrl_di),RAMDATA_W+1);
          runlength_reg  <= zero_cnt(3 downto 0);
          runlength_reg  <= zero_cnt(3 downto 0);
 
          if signed(di) = 0 then
 
            zero_cnt     <= to_unsigned(1,zero_cnt'length);
 
          else
          zero_cnt       <= (others => '0');
          zero_cnt       <= (others => '0');
 
          end if;
          dovalid_reg    <= '1';
          dovalid_reg    <= '1';
          -- continue input handling
          -- continue input handling
          zrl_proc <= '0';
          zrl_proc <= '0';
        -- zero_cnt > 15
        -- zero_cnt > 15
        else
        else

powered by: WebSVN 2.1.0

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