M
M.D. van de Burgwal
Guest
Assume I have the next entity description in file A:
ENTITY comp1 IS
port (A : IN std_logic; B: OUT std_logic);
END comp1;
I want to use the entity in another file B, so I declare a component:
COMPONENT comp1
port (A : IN std_logic; B: OUT std_logic);
END COMPONENT;
Next, I find a bug in the original entity comp1 in file A and I need to
change some port definition:
ENTITY comp1 IS
port (A : IN std_logic_vector(1 downto 0); B: OUT std_logic);
END comp1;
When I do not change the component declaration in file B, ModelSim (version
SE 5.7d) will compile file B without any changed ports.
Is there any way to make ModelSim compare the original entity declaration
and the component instantation, returning an error when something has
changed? Or are there workarounds?
Thx,
Marcel van de Burgwal
ENTITY comp1 IS
port (A : IN std_logic; B: OUT std_logic);
END comp1;
I want to use the entity in another file B, so I declare a component:
COMPONENT comp1
port (A : IN std_logic; B: OUT std_logic);
END COMPONENT;
Next, I find a bug in the original entity comp1 in file A and I need to
change some port definition:
ENTITY comp1 IS
port (A : IN std_logic_vector(1 downto 0); B: OUT std_logic);
END comp1;
When I do not change the component declaration in file B, ModelSim (version
SE 5.7d) will compile file B without any changed ports.
Is there any way to make ModelSim compare the original entity declaration
and the component instantation, returning an error when something has
changed? Or are there workarounds?
Thx,
Marcel van de Burgwal