psram_data_iob.vhd

来自「opb接口sdram控制器源码」· VHDL 代码 · 共 59 行

VHD
59
字号
library IEEE;use IEEE.STD_LOGIC_1164.all;use IEEE.STD_LOGIC_ARITH.all;use IEEE.STD_LOGIC_UNSIGNED.all;---- Uncomment the following library declaration if instantiating---- any Xilinx primitives in this code.library UNISIM;use UNISIM.VComponents.all;entity psram_data_iob is    port (    iff_d   : in  std_logic;    iff_q   : out std_logic;    iff_clk : in  std_logic;    off_d   : in  std_logic;    off_q   : out std_logic;    off_clk : in  std_logic);end psram_data_iob;architecture rtl of psram_data_iob is  attribute iob                 : string;  attribute iob of  psram_data_iob_iff : label is "true";  attribute iob of  psram_data_iob_off : label is "true";  begin  -- rtl-- iff  psram_data_iob_iff : FDRSE    generic map (      INIT => '0')    -- Initial value of register ('0' or '1')      port map (      Q  => iff_q,                      -- Data output      C  => iff_clk,                    -- Clock input      CE => '1',                        -- Clock enable input      D  => iff_d,                      -- Data input      R  => '0',                        -- Synchronous reset input      S  => '0'                         -- Synchronous set input      );  -- off  psram_data_iob_off : FDRSE    generic map (      INIT => '0')    -- Initial value of register ('0' or '1')      port map (      Q  => off_q,                      -- Data output      C  => off_clk,                    -- Clock input      CE => '1',                        -- Clock enable input      D  => off_d,                      -- Data input      R  => '0',                        -- Synchronous reset input      S  => '0'                         -- Synchronous set input      );        end rtl;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?