⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 有人用fpga控制过液晶屏吗(vhdl).htm

📁 有人用FPGA控制过液晶屏吗(vhdl)
💻 HTM
📖 第 1 页 / 共 3 页
字号:
	sel7.className = "search_nav_o";
	
	document.getElementById("sel"+flagid).className = "search_nav_h";
	var Keyword = SearchForm.Keyword;
	if(Keyword.value == "" || Keyword.value.substring(0,3) =="请输入"){
		SearchForm.Keyword.value = initwords[flagid-1];
	}
	var numTotal=7;
	whichEl1 = eval("con"+ flagid);
	whichEl1.style.display = "block";
	for(i=1;i<=numTotal;i++){
		whichEl = eval("con"+ i);
		if(whichEl!=whichEl1) {
			whichEl.style.display = "none";
		}
	}

	//else{
		//document.getElementById("sel8").className = "search_nav_h";
	//}
	SearchForm.action = initurl[flagid-1];
	//alert(SearchForm.action);

	switch(searchActivedItem){
	case 1:
		  if(Keyword.length<4){
			  alert("搜索IC库存型号关键词最少要4个字符!");
			  form.Keyword.focus();
			  return false;
		  }
	case 2:
		if(Keyword.length<3){
		  alert("搜索关键词最少要3个字符!");
		  form.Keyword.focus();
		  return false;
		}
	}
	return true;
}

function WriteTags(Tag) {
	//var TagsValue = document.getElementById("Keyword");
	document.getElementById("Keyword").value = Tag;
}
function CheckSearch(form) {
	var Keyword = form.Keyword.value;
	if(Keyword == "" || Keyword.substring(0,3) =="请输入"){
	   alert("请填写搜索关键词!");
	   form.Keyword.focus();
	   return false;
	 }
}
</SCRIPT>

      <FORM name=SearchForm onsubmit="return CheckSearch(this)" action="" 
      method=get>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width=10 background=有人用FPGA控制过液晶屏吗(vhdl).files/0629_03.gif 
          height=42>&nbsp;</TD>
          <TD align=middle background=有人用FPGA控制过液晶屏吗(vhdl).files/0629_04.gif>
            <TABLE cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
              <TR>
                <TD align=middle>
                  <DIV class=search_nav_o id=sel1 onclick=doClick(1)>IC供应</DIV>
                  <DIV class=search_nav_o id=sel2 onclick=doClick(2)>IC求购</DIV>
                  <DIV class=search_nav_o id=sel3 onclick=doClick(3)>非IC供应</DIV>
                  <DIV class=search_nav_o id=sel4 onclick=doClick(4)>非IC求购</DIV>
                  <DIV class=search_nav_o id=sel5 onclick=doClick(5)>电子资讯</DIV>
                  <DIV class=search_nav_o id=sel6 onclick=doClick(6)>技术资料</DIV>
                  <DIV class=search_nav_o id=sel7 
                onclick=doClick(7)>商人论坛</DIV></TD></TR></TBODY></TABLE></TD>
          <TD width=10 
          background=有人用FPGA控制过液晶屏吗(vhdl).files/0629_08.gif>&nbsp;</TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
        <TBODY>
        <TR>
          <TD align=right width="73%" bgColor=#53ade2 height=50><INPUT 
            id=Keyword 
            style="BORDER-RIGHT: #0a7ec3 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #0a7ec3 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 0px; BORDER-LEFT: #0a7ec3 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #0a7ec3 1px solid; HEIGHT: 26px" 
            onfocus="if(this.value.indexOf('请输入')!=-1)this.value=''" size=80 
            value=请输入搜索关键词! name=Keyword></TD>
          <TD width="27%" bgColor=#53ade2><INPUT type=image 
            src="有人用FPGA控制过液晶屏吗(vhdl).files/0629_14.gif" 
        name=imageField></TD></TR></TBODY></TABLE>
      <TABLE style="MARGIN-BOTTOM: 15px" cellSpacing=0 cellPadding=0 
      width="100%" border=0>
        <TBODY>
        <TR>
          <TD 
          style="BORDER-RIGHT: #53ade2 1px solid; BORDER-TOP: #53ade2 1px solid; BORDER-LEFT: #53ade2 1px solid; BORDER-BOTTOM: #53ade2 1px solid; TEXT-ALIGN: center" 
          height=30>
            <DIV id=con1 style="DISPLAY: none"><INPUT id=ICSearchType type=radio 
            CHECKED value=2 name=ICSearchType>模糊搜索 <INPUT id=ICSearchType 
            type=radio value=1 name=ICSearchType>精确搜索 </DIV>
            <DIV id=con2 style="DISPLAY: none">热门搜索:<A 
            href="http://www.dzsc.com/ic-hot/SP3243EEA.html" 
            target=_blank>SP3243EEA</A> <A 
            href="http://www.dzsc.com/ic-hot/DS1488N.html" 
            target=_blank>DS1488N</A> <A 
            href="http://www.dzsc.com/ic-hot/CS8900A-CQ.html" 
            target=_blank>CS8900A-CQ</A> <A 
            href="http://www.dzsc.com/ic-hot/LT1054CS8.html" 
            target=_blank>LT1054CS8</A> <A 
            href="http://www.dzsc.com/ic-hot/LT1039CN.html" 
            target=_blank>LT1039CN</A> <A 
            href="http://www.dzsc.com/ic-hot/MAX846AEEE.html" 
            target=_blank>MAX846AEEE</A> <A 
            href="http://www.dzsc.com/ic-hot/MAX883CSA.html" 
            target=_blank>MAX883CSA</A> </DIV>
            <DIV id=con3 style="DISPLAY: none">热门非IC搜索:<A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=三极管">三极管</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=二极管">二极管</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=电容">电容</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=LED">LED</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=继电器">继电器</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=晶振">晶振</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=保险丝">保险丝</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=电阻">电阻</A> 
            </DIV>
            <DIV id=con4 style="DISPLAY: none">热门非IC搜索:<A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=三极管">三极管</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=二极管">二极管</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=电容">电容</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=LED">LED</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=继电器">继电器</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=晶振">晶振</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=保险丝">保险丝</A> 
            <A 
            href="http://www.dzsc.com/product/sell_search.html?keyword=电阻">电阻</A> 
            </DIV>
            <DIV id=con5 style="DISPLAY: none">
            <TABLE class=margin cellSpacing=0 cellPadding=0 width="100%" 
            border=0>
              <TBODY>
              <TR>
                <TD align=middle><A 
                  href="http://www.dzsc.com.cn/stock9/list/449.html" 
                  target=_blank>449</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/82.html" 
                  target=_blank>82</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/334.html" 
                  target=_blank>334</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/228.html" 
                  target=_blank>228</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/23.html" 
                  target=_blank>23</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/44.html" 
                  target=_blank>44</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/265.html" 
                  target=_blank>265</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/49.html" 
                  target=_blank>49</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/256.html" 
                  target=_blank>256</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/396.html" 
                  target=_blank>396</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/452.html" 
                  target=_blank>452</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/154.html" 
                  target=_blank>154</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/212.html" 
                  target=_blank>212</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/382.html" 
                  target=_blank>382</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/2.html" 
                  target=_blank>2</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/456.html" 
                  target=_blank>456</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/451.html" 
                  target=_blank>451</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/87.html" 
                  target=_blank>87</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/287.html" 
                  target=_blank>287</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/468.html" 
                  target=_blank>468</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/72.html" 
                  target=_blank>72</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/249.html" 
                  target=_blank>249</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/192.html" 
                  target=_blank>192</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/243.html" 
                  target=_blank>243</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/285.html" 
                  target=_blank>285</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/70.html" 
                  target=_blank>70</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/16.html" 
                  target=_blank>16</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/379.html" 
                  target=_blank>379</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/123.html" 
                  target=_blank>123</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/485.html" 
                  target=_blank>485</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/183.html" 
                  target=_blank>183</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/35.html" 
                  target=_blank>35</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/281.html" 
                  target=_blank>281</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/109.html" 
                  target=_blank>109</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/89.html" 
                  target=_blank>89</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/396.html" 
                  target=_blank>396</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/160.html" 
                  target=_blank>160</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/372.html" 
                  target=_blank>372</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/265.html" 
                  target=_blank>265</A> <A 
                  href="http://www.dzsc.com.cn/stock9/list/296.html" 
                  target=_blank>296</A> </TD></TR></TBODY></TABLE></DIV>
            <DIV id=con6><INPUT id=SearchType onclick=javascript:ChildSelect(1); 
            type=radio value=1 name=SearchType>技术文章 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(2); type=radio value=2 
            name=SearchType>PDF资料 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(3); type=radio value=3 
            name=SearchType>IC价格 <INPUT id=SearchType disabled 
            onclick=javascript:ChildSelect(4); type=radio value=4 
            name=SearchType>引脚说明 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(5); type=radio value=5 
            name=SearchType>电路图 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(6); type=radio value=6 
            name=SearchType>IC替换 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(7); type=radio value=7 
            name=SearchType>IC厂商 <INPUT id=SearchType 
            onclick=javascript:ChildSelect(8); type=radio value=8 
            name=SearchType>电子辞典 </DIV>
            <DIV id=con7><INPUT id=BBSType onclick=javascript:ChildSelect(9); 
            type=radio value=1 name=sType>作者 <INPUT id=BBSType 
            onclick=javascript:ChildSelect(10); type=radio CHECKED value=2 
            name=sType>主题 <INPUT id=BBSType onclick=javascript:ChildSelect(11); 
            type=radio value=3 name=sType>内容 </DIV></TD></TR></TBODY></TABLE></FORM>
      <SCRIPT language=javascript>doClick(6);</SCRIPT>
    </TD></TR></TBODY></TABLE>
<TABLE style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 width=900 
border=0>
  <TBODY>
  <TR>
    <TD align=right><B><A href="http://www.dzsc.com/ic/hotadd.html" 
      target=_blank><FONT color=#ff0000>采购元器件好去处--维库电子市场网推荐</A></FONT></B></TD>
  <TR></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=900 border=0>
  <TBODY>
  <TR>
    <TD 
    style="BORDER-RIGHT: #7bade0 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: #7bade0 1px solid; PADDING-LEFT: 50px; PADDING-BOTTOM: 4px; BORDER-LEFT: #7bade0 1px solid; LINE-HEIGHT: 18px; PADDING-TOP: 5px; BORDER-BOTTOM: #7bade0 1px solid; BACKGROUND-COLOR: #c3dbf3; TEXT-ALIGN: left" 
    height=25><A href="http://www.dzsc.com/dzbbs/bbs-1.html">技术交流</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-2.html">电路欣赏</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-3.html">工控天地</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-4.html">数字广电</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-5.html">通信技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-6.html">电源技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-7.html">测控之家</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-10.html">EMC技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-12.html">ARM技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-21.html">EDA技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-22.html">PCB技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-16.html">嵌入式系统</A><BR><A 
      href="http://www.dzsc.com/dzbbs/bbs-17.html">驱动编程</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-18.html">集成电路</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-23.html">器件替换</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-8.html">模拟技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-9.html">新手园地</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-13.html">单 片 机</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-14.html">DSP技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-15.html">MCU技术</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-19.html">IC 设计</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-20.html">IC 产业</A> | <A 
      href="http://www.dzsc.com/dzbbs/bbs-11.html">CAN-bus/DeviceNe</A></TD></TR></TBODY></TABLE><BR>
<TABLE class=margin_10 cellSpacing=0 cellPadding=0 width=900 bgColor=#f1f5fa 
border=0>
  <TBODY>
  <TR>
    <TD class=news_til1>
      <H1>有人用FPGA控制过液晶屏吗(vhdl)</H1></TD></TR>
  <TR>
    <TD class=gray align=middle height=20>来源:21ic 作者:<SPAN 
      class=blue>cehon</SPAN> 栏目:<A 
      href="http://www.dzsc.com/dzbbs/bbs-21.html">EDA技术</A></TD></TR>
  <TR>
    <TD 
      class=news_con1>有人用FPGA控制过液晶屏吗(vhdl)<BR>以前用单片机控制过,比较简单,现在想完全用fpga,翻译了好长时间,好像c语言简单的几句用vhdl就要好多,象什么初始化啊,定位啊,是方法不对还是本身就复杂啊?(液晶本身带控制器)<BR>看我翻译的是不是方法不对啊<BR>//以下是用c语言控制lcd初始化程序中的很小的一部分<BR>p_e=p_di=p_rw=0;//开显示屏<BR>p_csa=p_csb=0;<BR>p_csa=1;P0=0x3f;p_e=1;p_e=0;p_csa=0;<BR>p_csb=1;P0=0x3f;p_e=1;p_e=0;p_csb=0;<BR>--以下是翻译的vhdl程序<BR>port(clk 
      :in std_logic;<BR>&nbsp;&nbsp;&nbsp;&nbsp;datalcm:inout std_logic_vector(7 
      downto 
      0);--数据口<BR>&nbsp;&nbsp;&nbsp;&nbsp;rwlcm,dilcm,elcm,cs1lcm,cs2lcm:out 
      std_logic);<BR>end ;<BR>architecture behav of write is<BR>signal 
      cnt:integer range 0 to 12 :=0;<BR>signal cs : 
      bit:='0';<BR>begin<BR>process(clk)<BR>begin<BR>if clk'event and clk='1' 
      then<BR>&nbsp;&nbsp;if cnt=12 then cnt&lt;=0;<BR>&nbsp;&nbsp;else 
      cnt&lt;=cnt+1;<BR>&nbsp;&nbsp;end if;<BR>&nbsp;&nbsp;if cs='0' then 
      --写128×64显示屏的左半屏<BR>&nbsp;&nbsp;&nbsp;&nbsp;if cnt=0 then 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;elcm&lt;='0';rwlcm&lt;='0';cs1lcm&lt;='1';cs2lcm&lt;='0';dilcm&lt;='0';<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif 
      cnt=5 then 
      elcm&lt;='1';datalcm&lt;="00111111";<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif 
      cnt=10 then elcm&lt;='0';<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif cnt=11 then 
      rwlcm&lt;='1';cs&lt;='1';<BR>&nbsp;&nbsp;&nbsp;&nbsp;end 
      if;<BR>&nbsp;&nbsp;else&nbsp;&nbsp;--写128×64显示屏的右半屏<BR>&nbsp;&nbsp;&nbsp;&nbsp;if 
      cnt=0 then 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;elcm&lt;='0';rwlcm&lt;='0';cs1lcm&lt;='0';cs2lcm&lt;='1';dilcm&lt;='0';<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif 
      cnt=5 then 
      elcm&lt;='1';datalcm&lt;="00111111";<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif 
      cnt=10 then elcm&lt;='0';<BR>&nbsp;&nbsp;&nbsp;&nbsp;elsif cnt=11 then 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -