登录
首页 » Verilog » hulf

hulf

于 2019-06-19 发布 文件大小:256KB
0 205
下载积分: 1 下载次数: 0

代码说明:

  设计一个哈夫曼编码器 要求对一段数据序列进行哈夫曼编码,使得平均码长最短,输出各元素编码和编码后的数据序列。 ① 组成序列的元素是[0-9]这10个数字,每个数字其对应的4位二进制数表示。比如5对应0101,9对应1001。 ② 输入数据序列的长度为256。 ③ 先输出每个元素的编码,然后输出数据序列对应的哈夫曼编码序列。(Designing a Huffman Encoder Huffman coding is required for a data sequence to minimize the average code length and output the coded and coded data sequence of each element. (1) The elements that make up the sequence are the 10 digits [0-9], and each digit is represented by its corresponding 4-bit binary number. For example, 5 corresponds to 0101, 9 corresponds to 1001. (2) The length of the input data sequence is 256. (3) First output the encoding of each element, and then output the Huffman encoding sequence corresponding to the data sequence.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AT89S52单片机电子钟(含万年历、闹铃)
    应用背景用于大学51单片机课程设计,数码管显示时间,设置闹铃,电子钟,显示时间、日期,秒表用于计时,用于51单片机关键技术AT89S52单片机电子钟(含万年历、闹铃、秒表)有注释,可以删除部分功能,所有功能都采用子函数,采用8位数码管显示,采用8位IO口独立式按键输入。涵盖电子钟所有内容。
    2022-02-11 16:24:11下载
    积分:1
  • 完美火焰渲染程序
    动态火焰生成和渲染,用于相关动画特效,工业控制页面的设计。(Dynamic flame generation and rendering, used for animation special effects, industrial control page design.)
    2020-06-19 19:00:01下载
    积分:1
  • rearrangement JiuGongTu the heuristic search algorithm
    重排九宫问题的启发式搜索算法求解-rearrangement JiuGongTu the heuristic search algorithm
    2023-05-16 06:20:03下载
    积分:1
  • searching
    /* binarysearch() - A binary search implementation which takes the same * arguments as the C library function bsearch() provided by stdlib.h. It * searches the sorted array at address base, which has nmemb elements, each of * which is size bytes long. compar is a pointer to a comparison function. * The function compares two array elements, and returns a negative, zero, or * positive integer depending on whether the first array element is less than, * equal to, or greater than the second. */
    2010-12-20 04:24:54下载
    积分:1
  • 多功能模态对话框插件
    说明:  一款非常实用的基于bootstrap的jQuery多功能模态对话框插件(A very practical jQuery multifunctional modal dialog plug-in based on Bootstrap)
    2019-01-07 14:45:03下载
    积分:1
  • 采用QPSK的MATLAB仿真,然后在FPGA实现的基本功能…
    通过MATLAB对QPSK进行仿真,再在FPGA中实现QPSK的基本功能-By MATLAB simulation of QPSK, and then in the FPGA to implement the basic functions of QPSK
    2022-03-15 16:36:50下载
    积分:1
  • Benefits-Network-Coding
    说明:  在多信道中网络编码的应用以及其优势,很适合网络编码的学习(In the multi-channel applications in network coding and its advantages, it is appropriate for the learning network coding)
    2010-04-19 16:39:53下载
    积分:1
  • basic
    python基本使用方法,以例子形式说明了如何基本掌握python使用(the basic using method for python)
    2020-06-21 22:40:01下载
    积分:1
  • baidutianqi
    说明:  An Android weather project source code, using the API provided by Baidu, has the basic functions of weather query, city settings, Short Message Sharing weather, the interface is refreshing, but now because of Baidu key failure, can not update the weather. The code has more detailed comments. Code volume is not large, interested friends can check it by themselves.
    2020-06-24 11:40:02下载
    积分:1
  • pso
    粒子群PSO及其改进算法,包含基本PSO,sPSO,tPSO,tsPSO等。(Particle swarm PSO and its improved algorithm, including the basic PSO, sPSO, tPSO, tsPSO, etc.)
    2017-04-21 20:15:39下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载