Research Article

Modelling and Assertion-Based Verification of Run-Time Reconfigurable Designs Using Functional Programming Abstractions

Listing 4

Example properties for the AHB-based design.
1-- Only one master at a time can have control
2-- over the bus, so only one of the grant
3-- signals can be High at a time.
4pr1 g0 g1 rst=always
5 (
6neg  $ (sig g0) / (sig g1)
7) $ abort $ sig rst
8-- If none of the masters is granted, any
9-- request (not simultaneously) will lead
10-- to a grant in the next clock cycle.
11pr2 g0 g1 r1 rst = always
12 (
13 prev (neg((sig g0) / (sig g1)) / (sig r1))
14--> (sig g1)
15) $ abort $ sig rst