Next: Use the Dezyne verification & simulation tools to correctly implement a solution using the ‘external' keyword, Previous: Understand the impact of using the ‘external' keyword in your Dezyne models, Up: Dezyne
external Summary [Contents]
In How to use ‘external'?, two important considerations were given as to how you should implement ‘external’ in your models. Firstly, in Responsibilities and using ‘external' components it is recommended to create a new component that maps an external requires port to a provided port of the same type. This is so that you don’t pollute other components with logic only concerning ‘external’ behaviour. Then, in ‘The' solution handshake protocol a handshake was added to the interface so that the state of the two ports can be synchronized.