LCD verilog 驱动

上传者: 36100739 | 上传时间: 2023-01-12 14:07:43 | 文件大小: 124KB | 文件类型: RAR
lcd_interface.v 的功能大致如下: (一)初起的时候,液晶控制模块对液晶初始化。RAM模块本身也自行初始化。 (二)每隔一段时间,液晶控制模块就会从RAM模块读取图像信息,然后利 用这些信息来驱动液晶的显示。 在51~145行就是液晶控制模块的核心部分。61~114行是 initial_module.v 的部分,然而该功能被使能是在 isStart[1] ,亦即isStart寄存器最高位被拉高的时候才发生。这也就是说,lcd_interface.v 初始化的时候,51~145的“initial function”(液晶初始化功能)就被执行。 在同一个时间20~28行的定时器也开始计数。但是在定时器完成计数之前,在109行,产生了“完成反馈”,亦即“initial fucntion”已经执行完毕。此时在39行,if条件成立 isStart 被清零。 115~145行是“draw function”(液晶绘图功能)。该功能会发生在,当isStart[0],isStart寄存器的最低位被拉高的时候。每隔25ms的时间在20~28行的定时器都会产生定时,isStart的最低位都会被拉高。换句话说,每隔25ms“draw function”就会被执行。 当“draw function”完成后(140行),就会产生一个“完成反馈”。在同一个时间39行的if条件就会成立,isStart会被清零。 在148行的 Read_Addr_Sig 信号是作为“RAM模块”读取的寻址信号。 在前面,笔者显示了该lcd_interface.v 的扫描频率是 40Hz。如果换做公式来表达的话: T = 1 / F = 1 / 40Hz = 25 ms 这也是20~28行的定时器要每隔25ms产生一次定时的原因。因为每隔25ms,isStart寄存器的最低位就会被拉低,然后“draw function”就会被执行。换句话说,定时器的存在是为了充当“仿顺序操作”模块的“Start_Sig”信号。当然也可以这样说“Start_Sig 和 Done_Sig 都是发生在液晶控制模块的内部”(液晶控制模块自己自动使能自己)。

文件下载

资源详情

[{"title":"( 51 个子文件 124KB ) LCD verilog 驱动","children":[{"title":"20_lcd","children":[{"title":"20_lcd.map.rpt <span style='color:#111;'> 59.90KB </span>","children":null,"spread":false},{"title":"greybox_tmp","children":[{"title":"cbx_args.txt <span style='color:#111;'> 350B </span>","children":null,"spread":false}],"spread":true},{"title":"20_lcd.sof <span style='color:#111;'> 484.91KB </span>","children":null,"spread":false},{"title":"20_lcd.qsf <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"20_lcd.cdf <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"20_lcd.asm.rpt <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false},{"title":"20_lcd.fit.rpt <span style='color:#111;'> 264.30KB </span>","children":null,"spread":false},{"title":"20_lcd.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"20_lcd.pin <span style='color:#111;'> 31.83KB </span>","children":null,"spread":false},{"title":"tcl","children":[{"title":"20_osh.tcl <span style='color:#111;'> 543B </span>","children":null,"spread":false}],"spread":true},{"title":"20_lcd.fit.smsg <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"20_lcd.sld_design_entry.sci <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"logic_util_heursitic.dat <span style='color:#111;'> 20.58KB </span>","children":null,"spread":false},{"title":"20_lcd.db_info <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"prev_cmp_20_lcd.qmsg <span style='color:#111;'> 64.41KB </span>","children":null,"spread":false},{"title":"altsyncram_10i1.tdf <span style='color:#111;'> 13.11KB </span>","children":null,"spread":false},{"title":"altsyncram_60i1.tdf <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false},{"title":"altsyncram_h5c1.tdf <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"20_lcd_assignment_defaults.qdf <span style='color:#111;'> 48.64KB </span>","children":null,"spread":false},{"title":"20_lcd.map.summary <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"20_lcd.sta.summary <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"20_lcd.root_partition.cmp.kpt <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"20_lcd.root_partition.cmp.dfp <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"20_lcd.root_partition.map.kpt <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"20_lcd.db_info <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"20_lcd.root_partition.map.dpi <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"20_lcd.root_partition.cmp.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":false},{"title":"20_lcd.sta.rpt <span style='color:#111;'> 274.81KB </span>","children":null,"spread":false},{"title":"20_lcd.qws <span style='color:#111;'> 694B </span>","children":null,"spread":false},{"title":"20_lcd.flow.rpt <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"lcd_rom_module.qip <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"20_lcd.map.smsg <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"20_lcd.fit.summary <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"20_lcd.qpf <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"20_lcd.pof <span style='color:#111;'> 8.00MB </span>","children":null,"spread":false},{"title":"source","children":[{"title":"pika_ani.mif <span style='color:#111;'> 7.02KB </span>","children":null,"spread":false},{"title":"lcd_rom_module.v <span style='color:#111;'> 6.53KB </span>","children":null,"spread":false},{"title":"lcd_rom_module_inst.v <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"lcd_ram_module.v <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"lcd_rom_module.qip <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"spi_write_module.v <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"lcd_control_module.v <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"pikachu.mif <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"lcd_interface_demo.v.bak <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"lcd_interface_demo.v <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"lcd_interface.v <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"lcd_rom_module_bb.v <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"spi_write_module.v.bak <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"lcd_ram_module.v.bak <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"lcd_control_module.v.bak <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明