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

宽带直流放大器论文(3)

来源:网络收集 时间:2021-09-24 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

航空航天大学出版社出版

( 5 )《电子测量》 刘国林 殷贯西等编著 机械工业出版社出版 ( 6 )《一种性能优良的自动增益控制电路》 张淑娥 杨再

旺 李文田 华北电力大学

附录四:部分源程序

library ieee;

use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity ad0820 is

port(d_in:in std_logic_vector(7 downto 0); clk_12M,int:in std_logic; cs,rd,wr:out std_logic;

d_out:out std_logic_vector(7 downto 0) ); end ;

architecture behav of ad0820 is

type states is (st0,st1,st2,st3,st4,st5); signal current_state,next_state:states:=st0; signal d_mid:std_logic_vector(7 downto 0); signal clk:std_logic; begin

cs<='0';rd<='0'; ch: process(clk_12M)

variable data:std_logic_vector(1 downto 0); begin

if clk_12M'event and clk_12M='1' then if data="01" then data:=(others=>'0'); clk<=not clk; else

data:=data+1; end if; end if; end process ch; reg:process(clk) begin

if (clk'event and clk='1') then current_state<=next_state; end if; end process reg;

com:process(current_state,int,clk) begin

d_out<=d_mid;

case current_state is when st0=> wr<='0';

next_state<=st1; when st1=> wr<='1';

next_state<=st2; when st2=>

if(int='0') then next_state<=st2; elsif int='1' then next_state<=st3; end if; when st3=>

if int='1' then next_state<=st3; elsif int='0' then next_state<=st4; end if; when st4=> wr<='0'; d_mid<=d_in; next_state<=st5; when st5=>

next_state<=st0; when others=> null; end case; end process com; end behav;

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说医药卫生宽带直流放大器论文(3)在线全文阅读。

宽带直流放大器论文(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/yiyao/1254710.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: