We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
What should be the behavior of an AHB5 slave when:
it is trust peripheral and receives a transaction with hnonsec=1it is trust peripheral and receives a transaction with hnonsec=0it is not trust peripheral and receives a transaction with hnonsec=1it is not trust peripheral and receives a transaction with hnonsec=0
Thank you very much in advance.
BR,Joaquin
This isn't quite the right way of thinking about this.
If the slave/subordinate does not trust the device issuing the transaction, then it would likely ignore the HNONSEC signal. In this case, this form of security in the system is broken as a device can issue secure transactions that is not trusted.
Instead, the system should be designed such that only trusted managers can issue transactions with HNONSEC = 0. The subordinate can then use HNONSEC to determine whether accesses can be made to a resource or memory location that the subordinate considers to be secure.