Forum Discussion
Altera_Forum
Honored Contributor
14 years agoOk, so i tried to compilate the entity and not the testbench;
I added the entity with architectures and libraries: library ieee;use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
library work;
use work.stdma_avalon_package.all;
use work.hdlc_tx_package.all;
use work.hdlc_rx_package.all;
use work.edgedet_package.all;
use work.syncronizer_package.all; and there is this error message: error (10430): vhdl primary unit declaration error at avalon_2oo3_hdlc_entity.vhd(8): primary unit "avalon_2oo3_hdlc" already exists in library "work"
error (10784): hdl error at avalon_2oo3_hdlc.vhd(104): see declaration for object "avalon_2oo3_hdlc"