It is possible to run an example design simulation with two VitisNetP4 instances in a daisy-chain sequence. To run, for example, the FiveTuple Example Design in this way, the P4 file needs to be renamed to fiveTuple_daisy_chain.p4. When the example design is then opened (following instructions in Example Design Use section of this chapter), the P4 will be instantiated twice in a daisy-chain sequence.
When run in this way, the traffic is passed through the behavioral model twice to generate the expected data. Any table entries are applied to both instances.