Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

An important warning confused me--tri-state nodes do not directly drive top-level

Hi all,

Recently I compile a project in Quartus 9.0 and make some changes.

The results comes out with some strange warnings:

Tri-state nodes do not directly drive top-level.

I look up in the project

{

entity bidir is

port(

clk : in std_logic;

enable:in std_logic;

data: inout std_logic_vector(7 downto 0)

);

end bidir;

architecture behavior of bidir is

component test

port(

datain :in std_logic_vector(7 downto 0);

clk : in std_logic;

enable :in std_logic;

dataout:in std_logic_vector(7 downto 0)

)

end component;

signal data_reg : in std_logic_vector(7 downto 0);

begin

u1: test

port map(

datain => data,

clk => clk,

enable => enable,

dataout =>data_reg --data_reg is tri-state register

);

data <= data_reg when (enable = '1') else (others = 'Z');

end behavior;

}

I simulate the code in the ModelSim platform and the result doesn't give such warning.

I'm not sure whether the warning will affect the real hardware function.

Could anyone give me some advice?(It's better not to change the codes)

Best Regards.

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    I dont know if this the right place to this quetion, but some one know how obtain the capacitance of instances in a netlist file from Quartus II tool.

    I need to use the netlist file from Quartus tool, in the Nanosim tool from Synopsys, because there isn't any Altera tool to obtain the capacitance of a instance (resistor, transistor, capacitor, etc) of a FPGA design.

    Thank you for help.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    yes it they are really confusing, but some of them can be ignored, and will not make any effect in the program running