1024手机基地看电影,午夜福利视频导航,国产精品福利在线一区,亚洲欧美日韩另类成人,在线观看午夜日本理论片,成年超爽免费网站,国产精品成人免费,精品动作一级毛片,成人免费观看网站,97精品伊人久久大香蕉

標(biāo)題: 基于FPGA的3位鎖存源碼 [打印本頁(yè)]

作者: bzc4444    時(shí)間: 2018-5-31 12:39
標(biāo)題: 基于FPGA的3位鎖存源碼
基于FPGA的3位鎖存

  1. Ilibrsry ieee;
  2. use ieee.std_logic_1164.all;
  3. entity sn74373 is
  4.    port(d: in std_logic_vetor(8 downto 1);
  5.         OEN:in std_logic;
  6.         G:in std_logic;
  7.         Q:out std_logic_vector(8 downto 1));
  8. end entity sn74373;
  9. architecture two of sn74373 is
  10.     signal sigvec_save:std_logic_vector(8 downto 1);
  11.      begin
  12.        process(D,OEN,G)
  13.        begin
  14.           if OEN='0' then
  15.              Q<=sigvec_save;
  16.           else
  17.              Q<="ZZZZZZZZ";
  18.           end if;
  19.          if G='1' then
  20.              sigvec_save<=D;
  21.          end if;
  22.         end process;
  23. eng architecture two;
復(fù)制代碼


fpga.docx

10.56 KB, 下載次數(shù): 2, 下載積分: 黑幣 -5

3位所存






歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1