T
Tricky
Is it possible to connect a top level input to a global signal defined
in a package for synthesis purposes. I could see it as useful for
truely global signal such as a clock, reset or PCI bus (for example),
istead of having to drag them through the heirarchy.
Only Quartus complains with the error:
Error (10808): VHDL error at test_build.vhd(39): unsupported reference
to global signal or variable pci_data
Error (10784): HDL error at test_build.vhd(6): see declaration for
object "pci_data"
pci_data is declared in :
package pci_package is
signal pci_data : std_logic_vector(31 downto 0);
signal pci_addr : std_logic_vector(15 downto 0);
signal wr_en : std_logic;
end package pci_package;
and at the top level:
pci_data <= pci_data_in;
Am I outside the LRM. Are global signals really only for simulation??
(Modelsim doesnt complain at all.)
in a package for synthesis purposes. I could see it as useful for
truely global signal such as a clock, reset or PCI bus (for example),
istead of having to drag them through the heirarchy.
Only Quartus complains with the error:
Error (10808): VHDL error at test_build.vhd(39): unsupported reference
to global signal or variable pci_data
Error (10784): HDL error at test_build.vhd(6): see declaration for
object "pci_data"
pci_data is declared in :
package pci_package is
signal pci_data : std_logic_vector(31 downto 0);
signal pci_addr : std_logic_vector(15 downto 0);
signal wr_en : std_logic;
end package pci_package;
and at the top level:
pci_data <= pci_data_in;
Am I outside the LRM. Are global signals really only for simulation??
(Modelsim doesnt complain at all.)