資料介紹
library ieee:
use ieee.std_logic_1164.all;
entity air_conditioner is
??? port(clk:in std_ulogic;
????????????? temp_high:in std_ulogic;
????????????? temp_low:in std_ulogic;
?????????????? heat:out std_ulogic;
??????????????? cool:out std_ulogic);
??? end air_conditioner;
achitecture style_b of air_conditioner is
type state_type is (just_right,too_cold,too_hot);
attribute sequential_encoding of state_type:type is "00 01 10";
signal stvar:state_type;
attribute state_vector:string;
arrribute state_vector of style_b:architecture is "stvar";
begin
controllerl:process
begin
wait until clk='1';
if(temp_low='1')then stvar<=too_cold;
elsif(temp_high='1')then stvar<=too_hot;
else stvar<=just_right;
end if;
case stvar is
when just_right=>heat<='0';
???????????????? cool<='0';
when too_cold=>heat<='1';
?????????????? cool<='0';
when too_hot=>heat<='0';
????????????? cool<='1';
end case;
end process controllerl;
end style_b;
use ieee.std_logic_1164.all;
entity air_conditioner is
??? port(clk:in std_ulogic;
????????????? temp_high:in std_ulogic;
????????????? temp_low:in std_ulogic;
?????????????? heat:out std_ulogic;
??????????????? cool:out std_ulogic);
??? end air_conditioner;
achitecture style_b of air_conditioner is
type state_type is (just_right,too_cold,too_hot);
attribute sequential_encoding of state_type:type is "00 01 10";
signal stvar:state_type;
attribute state_vector:string;
arrribute state_vector of style_b:architecture is "stvar";
begin
controllerl:process
begin
wait until clk='1';
if(temp_low='1')then stvar<=too_cold;
elsif(temp_high='1')then stvar<=too_hot;
else stvar<=just_right;
end if;
case stvar is
when just_right=>heat<='0';
???????????????? cool<='0';
when too_cold=>heat<='1';
?????????????? cool<='0';
when too_hot=>heat<='0';
????????????? cool<='1';
end case;
end process controllerl;
end style_b;
下載該資料的人也在下載
下載該資料的人還在閱讀
更多 >
- 基于Arduino和OLED的元胞自動(dòng)機(jī) 0次下載
- 如何以面向?qū)ο蟮乃枷朐O(shè)計(jì)有限狀態(tài)機(jī)
- 同步有界偏序自動(dòng)機(jī)的同步性問(wèn)題研究 5次下載
- 自動(dòng)機(jī)終結(jié)字查找算法實(shí)現(xiàn)優(yōu)化綜述 3次下載
- 基于統(tǒng)計(jì)的AC自動(dòng)機(jī)空間優(yōu)化 0次下載
- 異步多進(jìn)程時(shí)間自動(dòng)機(jī)的可覆蓋性問(wèn)題 0次下載
- 建立描述OWL-S的服務(wù)過(guò)程自動(dòng)機(jī) 0次下載
- 自動(dòng)機(jī)械設(shè)計(jì) 0次下載
- 基于有限狀態(tài)機(jī)的UART設(shè)計(jì) 7次下載
- [自動(dòng)機(jī)與自動(dòng)線].李紹炎.掃描版 0次下載
- 用于信息加密的分子自動(dòng)機(jī)的編碼研究
- 汽車空調(diào)溫度自控器電路及制作
- 高可用性雙機(jī)系統(tǒng)的有限自動(dòng)機(jī)
- 加性細(xì)胞自動(dòng)機(jī)的同構(gòu)性分析
- NFA→FA→GFA自動(dòng)機(jī)轉(zhuǎn)換算法
- 空調(diào)溫度控制器怎么使用 空調(diào)溫度控制器壞了會(huì)怎樣 1991次閱讀
- 如何利用Linux下的工具來(lái)自動(dòng)生成實(shí)用的狀態(tài)機(jī)框架? 1415次閱讀
- 電風(fēng)扇自動(dòng)溫控調(diào)速器電路的工作原理 8134次閱讀
- 嵌入式軟件架構(gòu)設(shè)計(jì)之狀態(tài)機(jī) 2152次閱讀
- 如何構(gòu)建基于狀態(tài)機(jī)的軟件系統(tǒng) 1568次閱讀
- 如何判斷空調(diào)溫度傳感器的好壞 1.3w次閱讀
- 自動(dòng)調(diào)功式溫控器電路_開關(guān)型自動(dòng)調(diào)功式溫控器電路 2144次閱讀
- 可調(diào)溫控開關(guān)的工作原理與結(jié)構(gòu)介紹 2.2w次閱讀
- 空調(diào)溫度檢測(cè)電路圖大全(中央空調(diào)/傳感器溫度檢測(cè)電路詳解) 2.9w次閱讀
- 中央空調(diào)溫控器原理 1.4w次閱讀
- 中央空調(diào)溫控器怎么調(diào)_中央空調(diào)控制器說(shuō)明 11.6w次閱讀
- ne555調(diào)溫電路圖大全(六款ne555調(diào)溫電路) 3.8w次閱讀
- 電熨斗自動(dòng)調(diào)溫原理 3.2w次閱讀
- 具節(jié)電調(diào)溫控制器的設(shè)計(jì)方案 3089次閱讀
- 集成電路可調(diào)溫控器電路 4862次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1491次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識(shí)別和講解說(shuō)明
- 4.28 MB | 18次下載 | 4 積分
- 5開關(guān)電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費(fèi)
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機(jī)和 SG3525的程控開關(guān)電源設(shè)計(jì)
- 0.23 MB | 4次下載 | 免費(fèi)
- 8基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537793次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評(píng)論