1 ///////////////////////////////////////////////////////////////////// 3 //// JPEG Encoder Core - Verilog //// 5 //// Author: David Lundgren //// 6 //// davidklun@gmail.com //// 8 ///////////////////////////////////////////////////////////////////// 10 //// Copyright (C) 2009 David Lundgren //// 11 //// davidklun@gmail.com //// 13 //// This source file may be used and distributed without //// 14 //// restriction provided that this copyright statement is not //// 15 //// removed from the file and that any derivative work contains //// 16 //// the original copyright notice and the associated disclaimer.//// 18 //// THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY //// 19 //// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED //// 20 //// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS //// 21 //// FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR //// 22 //// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, //// 23 //// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES //// 24 //// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE //// 25 //// GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR //// 26 //// BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF //// 27 //// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT //// 28 //// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT //// 29 //// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE //// 30 //// POSSIBILITY OF SUCH DAMAGE. //// 32 ///////////////////////////////////////////////////////////////////// 35 /* This module combines the Y, Cb, and Cr blocks, and the RGB to Y, Cb, and Cr 38 `timescale 1ns / 100ps
[31:0] 4911JPEG_bitstream
[31:0] 1422JPEG_bitstream
[31:0] 3409cb_JPEG_bitstream
3420dct_data_inwire[23:0]
[31:0] 2978JPEG_bitstream
[31:0] 3412y_JPEG_bitstream
[31:0] 3406cr_JPEG_bitstream