Advertisement

FPGA——上电自复位方式(非常简单)

阅读量:

FPGA上电自复位机制与初始化应用

复制代码
    library IEEE;
    use IEEE.STD_LOGIC_1164.ALL;
    use IEEE.STD_LOGIC_UNSIGNED.ALL;
    use IEEE.numeric_std.all;
    library WORK;
    library UNISIM;
    use UNISIM.VComponents.all;
    
    
    entity    top is
    port(
    clk                :  in std_logic;
    rst                :  out std_logic
    );
    end top;
    architecture Behavioral of top is
    
    
    signal         rst_vector        :    std_logic_vector(15 downto 0):=(other=>'1');
    
    
    rst_after_power_on: process(clk)
    begin
            rst_vector <= '0' 

全部评论 (0)

还没有任何评论哟~