Missing direction on entity port

J

jtw

As a result of changing what was a generic to an input port, I omitted the
keyword 'in'. Neither the simulator (Modelsim 6.x) nor the synthesis tool
(Synplicity 8.4) challenged me on this. Is there a specified default? Or
is this a tool thing? (In case it isn't obvious, both the simulation and the
synthesis turned out okay.)

Jason
 
P

Paul Uiterlinden

jtw said:
As a result of changing what was a generic to an input port, I
omitted the
keyword 'in'. Neither the simulator (Modelsim 6.x) nor the
synthesis tool
(Synplicity 8.4) challenged me on this. Is there a specified
default? Or is this a tool thing? (In case it isn't obvious, both
the simulation and the synthesis turned out okay.)

The mode is optional with IN as default. The same goes for the formal
parameters in the parameter list declaration of subprograms
(procedures and functions). So it is perfectly OK that the simulator
and synthesizer do not complain.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top