登录
首页 » Verilog » hulf

hulf

于 2019-06-19 发布 文件大小:256KB
0 228
下载积分: 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 个回复

  • 下面显示缩略图的Flash相集特效
    来自国外的Flash图片展示,下面显示缩略图的Flash相集特效,下坠风格的Flash图片切换,唯美简约,色彩搭配极具美感,Flash本身的图像效果处理也很个性,在切换图片的时候,当前张掉下去,下一张显示出来,形式新颖。
    2022-08-14 02:46:29下载
    积分:1
  • 代码
    简单游戏的代码,只有一些简单的扑克牌功能,没有写一些输赢的算法,有点可惜(Simple game code, only some simple poker functions, did not write some winning or losing algorithm, a little regrettable)
    2018-12-27 10:07:11下载
    积分:1
  • 文件实现了ADSP
    文件实现了ADSP-BF533及DM_KIT_SSK上模块的头文件定义-Document realize the ADSP-BF533 and DM_KIT_SSK on the definition of module header file
    2023-02-19 09:30:04下载
    积分:1
  • 全国各省市县最新区号和邮编(整理版)
    excel 文档 z中国 各省市县zip 邮编(china zip code excel.rar)
    2020-06-20 02:20:02下载
    积分:1
  • SDIO_IAP
    STM32的IAP升级程序,已经是可以用的,是用SD卡升级的程序,简单好用,有需要的朋友可以直接用(The STM32 IAP upgrade process, it is already possible to use, is to use the SD card upgrade program, easy to use, a friend in need can be directly used)
    2020-07-01 19:00:02下载
    积分:1
  • nc&IP=PSPACE
    计算理论导引第二版中的nc类和p完全性、IP=PSPACE(交互式证明系统、图的非同构、模型的定义、IP = PSPACE)内容(In the second edition of computational theory, the NC class and P completeness, IP=PSPACE (interactive proof system, graph isomorphism, model definition, IP = PSPACE) are included)
    2020-12-15 19:19:14下载
    积分:1
  • selenium-python-master
    说明:  使用python seleium 开发的简单爬虫小程序(A simple crawler developed by Python seleium)
    2020-01-06 14:13:20下载
    积分:1
  • dianliuhugnaqi
    这是单相变压器空载合闸的matlab仿真,对于初学者有很大帮助。(This is the MATLAB simulation of single phase transformer no load switching, which is very helpful for beginners.)
    2018-05-19 15:13:33下载
    积分:1
  • am335x
    测试am335xgpio功能,gpio驱动(Test am335xgpio function, GPIO driver)
    2020-06-21 06:40:02下载
    积分:1
  • 自抗扰控制技术-估计补偿不确定因素的控制技术
    说明:  韩京清——自抗扰控制技术-估计补偿不确定因素的控制技术(Active disturbance rejection control)
    2020-12-27 11:18:34下载
    积分:1
  • 696516资源总数
  • 106475会员总数
  • 7今日下载