代码:
entity GGH is
port (
T_GFSK_DATA : in std_logic;
t_gfsk_sel : in std_logic;
T_GFSK : out std_logic
);
end GGH;
architecture maintest of GGH is
begin
with t_gfsk_sel select
T_GFSK<=T_GFSK_DATA when '0',
'1' when '1',
'Z' when others;
end architecture;
仿真结果:file:///D:/1.jpg