VHDL复杂电路描述方法

VHDL复杂电路描述方法

ID:39339141

大小:755.61 KB

页数:130页

时间:2019-07-01

VHDL复杂电路描述方法_第1页
VHDL复杂电路描述方法_第2页
VHDL复杂电路描述方法_第3页
VHDL复杂电路描述方法_第4页
VHDL复杂电路描述方法_第5页
资源描述:

《VHDL复杂电路描述方法》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、第六讲复杂电路的描述方法ECE545IntroductiontoVHDLVHDLforSpecificationVHDLforSimulationVHDLforSynthesisECE545IntroductiontoVHDLLevelsofdesigndescriptionAlgorithmiclevelRegisterTransferLevelLogic(gate)levelCircuit(transistor)levelPhysical(layout)levelLevelofdescriptio

2、nmostsuitableforsynthesisECE545IntroductiontoVHDLRegisterTransferLogic(RTL) DesignDescriptionCombinationalLogicCombinationalLogicRegisters…Today’sTopicECE545IntroductiontoVHDLVHDLDesignStylesComponentsandinterconnectsstructuralVHDLDesignStylesdataflowCo

3、ncurrentstatementsbehavioralRegistersStatemachinesTestbenchesSequentialstatementsSubsetmostsuitableforsynthesisVHDL的执行语句描述结构体中电路硬件的变化特点;结构体中的任何执行语句都是并行语句;并行语句的种类有:赋值类语句:数据流描述(逻辑函数的运算)元件类语句:结构描述(逻辑符号的连接)进程语句:行为描述(电路功能的流程)ECE545IntroductiontoVHDLXOR3Examp

4、leECE545IntroductiontoVHDLEntity(XOR3Gate)entityXOR3isport(A:inSTD_LOGIC;B:inSTD_LOGIC;C:inSTD_LOGIC;RESULT:outSTD_LOGIC);endXOR3;ECE545IntroductiontoVHDLDataflowArchitecture(XOR3Gate)architectureXOR3_DATAFLOWofXOR3issignalU1_OUT:STD_LOGIC;beginU1_OUT<=

5、AxorB;RESULT<=U1_OUTxorC;endXOR3_DATAFLOW;U1_outXOR3ECE545IntroductiontoVHDLStructuralArchitecture(XOR3Gate)architectureXOR3_STRUCTURALofXOR3issignalU1_OUT:STD_LOGIC;componentXOR2isport(I1:inSTD_LOGIC;I2:inSTD_LOGIC;Y:outSTD_LOGIC);endcomponent;beginU1:

6、XOR2portmap(I1=>A,I2=>B,Y=>U1_OUT);U2:XOR2portmap(I1=>U1_OUT,I2=>C,Y=>RESULT);endXOR3_STRUCTURAL;ABCRESULTXOR3ECE545IntroductiontoVHDLBehavioralArchitecture(XORGate)architectureXOR3_BEHAVIORALofXOR3isbeginXOR3_BEHAVE:process(A,B,C)beginif((AxorBxorC)='1

7、')thenRESULT<='1';elseRESULT<='0';endif;endprocessXOR3_BEHAVE;endXOR3_BEHAVIORAL;ECE545IntroductiontoVHDLDataflowDescriptionDescribeshowdatamovesthroughthesystemandthevariousprocessingsteps.DataFlowusesseriesofconcurrentstatementstorealizelogic.Concurre

8、ntstatementsareevaluatedatthesametime;thus,orderofthesestatementsdoesn’tmatter.DataFlowismostusefulstylewhenseriesofBooleanequationscanrepresentalogic.ECE545–IntroductiontoVHDLData-flowVHDLconcurrentsignalassignment()conditional

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。