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

Subversion Repositories djpeg

[/] [djpeg/] [trunk/] [src/] [jpeg_dqt.v] - Diff between revs 6 and 9

Show entire file | Details | Blame | View Log

Rev 6 Rev 9
Line 12... Line 12...
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Rev. Date       Description
// Rev. Date       Description
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// 1.01 2006/10/01 1st Release
// 1.01 2006/10/01 1st Release
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// $Id: 
 
//---------------------------------------------------------------------------
 
`timescale 1ps / 1ps
`timescale 1ps / 1ps
 
 
module jpeg_dqt
module jpeg_dqt(
  (
 
   rst,
   rst,
   clk,
   clk,
 
 
   DataInEnable,
   DataInEnable,
   DataInColor,
   DataInColor,
Line 48... Line 45...
   // RAM
   // RAM
   reg [7:0]    DQT_Y [0:63];
   reg [7:0]    DQT_Y [0:63];
   reg [7:0]    DQT_C [0:63];
   reg [7:0]    DQT_C [0:63];
 
 
   // RAM
   // RAM
   always @(posedge clk)
    always @(posedge clk) begin
     begin
 
        if(DataInEnable ==1'b1 && DataInColor ==1'b0) begin
        if(DataInEnable ==1'b1 && DataInColor ==1'b0) begin
           DQT_Y[DataInCount] <= DataIn;
           DQT_Y[DataInCount] <= DataIn;
        end
        end
        if(DataInEnable ==1'b1 && DataInColor ==1'b1) begin
        if(DataInEnable ==1'b1 && DataInColor ==1'b1) begin
           DQT_C[DataInCount] <= DataIn;
           DQT_C[DataInCount] <= DataIn;
Line 70... Line 66...
   end
   end
 
 
   // Selector
   // Selector
   assign TableData = (TableColor)?TableDataC:TableDataY;
   assign TableData = (TableColor)?TableDataC:TableDataY;
 
 
endmodule // jpeg_dqt
endmodule
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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