guiliu
Junior Member level 3
modelsim identifier is not directly visible.
I used type 'unsigned' for my entity, and every thing was fine for compilation, but when I tried to compile the testbench (the component is exactly same as the entity), it sais
Identifier 'unsigned' is not visible. Making two objects with the name 'unsigned' directly visible via use clauses results in a conflict; neither object is made directly visible. (LRM Section 10.4)
If I modify the port type in the component declaration, then there will be elaboration problem since the component does not match the entity.
How to sovle this problem? Thanks a lot!
I used type 'unsigned' for my entity, and every thing was fine for compilation, but when I tried to compile the testbench (the component is exactly same as the entity), it sais
Identifier 'unsigned' is not visible. Making two objects with the name 'unsigned' directly visible via use clauses results in a conflict; neither object is made directly visible. (LRM Section 10.4)
If I modify the port type in the component declaration, then there will be elaboration problem since the component does not match the entity.
How to sovle this problem? Thanks a lot!