奇怪的仿真波形
时间:10-02
整理:3721RD
点击:
下图中,T_GFSK_DATA一直是高阻态,为什么当t_gfsk_sel =‘0’时,T_GFSK不是高阻呢?
代码:
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;
仿真结果:
代码:
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;
仿真结果:
怎么没人回答呀,自己顶!
