fanwel
Full Member level 3
Error (10430): VHDL Primary Unit Declaration error at reg_four.vhd(5): primary unit "
Hi all;
I have problem, where I write a main code that includes a fixed_pkg that I declare as a package of "my_data_types". Then I add project (another code) which also include a fixed_pkg as a component of the main code. When I compile the main code, this error occur:
Error (10430): VHDL Primary Unit Declaration error at reg_four.vhd(5): primary unit "my_data_types" already exists in library "work"
I debug by delete the package declaration for the component code. But then, error will say that the "sfixed_array_t" is use but not declare.
Why this happen..need helps..thanks
Hi all;
I have problem, where I write a main code that includes a fixed_pkg that I declare as a package of "my_data_types". Then I add project (another code) which also include a fixed_pkg as a component of the main code. When I compile the main code, this error occur:
Error (10430): VHDL Primary Unit Declaration error at reg_four.vhd(5): primary unit "my_data_types" already exists in library "work"
I debug by delete the package declaration for the component code. But then, error will say that the "sfixed_array_t" is use but not declare.
Why this happen..need helps..thanks