第一范文网 - 专业文章范例文档资料分享平台

基于FPGA数字秒表设计(完整资料).doc

来源:用户分享 时间:2025/11/17 13:13:02 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

4.4八段译码器 4.4.1八段译码器实现

entity baduan is

Port ( in_7 : in STD_LOGIC_VECTOR (3 downto 0); seg : out STD_LOGIC_VECTOR (7 downto 0)); end baduan;

architecture Behavioral of baduan is

begin

process(in_7) begin

Case in_7 is

when \ when \ when \ when \ when \ when \ when \ when \ when \ when \ when others => seg <=\ end case; end process;

end Behavioral;

27

4.4.2八段译码器仿真

tb : PROCESS BEGIN

in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ in_7 <= \ END PROCESS;

由图可见仿真结果与程序完全符合

4.4.3八段译码器电路综合

28

View Technology Schematic :

29

4.5控制器 4.5.1控制器

entity kongzhiqi is

Port ( clk_1k : in STD_LOGIC;

start_stop_out : in STD_LOGIC; split_reset_out : in STD_LOGIC;

sreg_out : out STD_LOGIC_VECTOR (2 downto 0)); end kongzhiqi;

architecture Behavioral of kongzhiqi is

signal sreg: STD_LOGIC_VECTOR(2 downto 0):=\ signal snext: STD_LOGIC_VECTOR(2 downto 0); begin

process(clk_1k,start_stop_out,split_reset_out) begin

if rising_edge(clk_1k) then sreg <= snext; end if; end process;

process(start_stop_out,split_reset_out,sreg) begin

case sreg is

when \if start_stop_out = '1' and split_reset_out = '0' then snext <= \ else snext <= sreg;

end if; when \if start_stop_out = '1' and split_reset_out = '0' then snext <= \

30

搜索更多关于: 基于FPGA数字秒表设计(完整资料).doc 的文档
基于FPGA数字秒表设计(完整资料).doc.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c0c8d91bdwe3xy6q955p40ne2d1fp330145l_8.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top