📄 psram_data_iob.vhd
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -