This example  demonstrates how to create and use an
AMBA master.  There are two TestBencher projects
contained in this example:
 
 amba.hpj
 ahb_master.hpj


An AMBA master is instantiated inside of the amba project.  There
are 4 transaction diagrams contained in ahb_master.hpj:

  write.btim
  read.btim
  idle.btim
  busy.btim

Each of these makes use of "Pipeline Boundary" markers and I've
attached a readme that explains "Pipeline Boundary" markers in
more detail.

The "Component Model" of amba.hpj contains a sequencer process
that shows how to apply these master transactions.  The sequencer
process is also doing some randomization, which is optional. 
Since they are applied with a "nowait" apply call, they will be
automatically pipelined since the diagrams are using pipeline
markers.

For example, in write.btim there are 3 pipeline boundary markers:
  1) addr_phase - indicates where address phase begins
  2) data_phase - indicates where address phase ends and data
                  phase begins
  3) end_phase  - indicates where data phase ends

If there are two successive "Apply-nowait" calls to this
transaction, the second one will wait for the first one to finish
it's address phase before starting.  Also, the "addr_phase"
semaphore is shared between all the ahb_master diagrams which
means only one can be running their address phase at a time.  The
"data_phase" is only shared between the read and write diagrams,
since that phase doesn't exist in the idle and busy phases.

Detailed notes on the "WaitForSlaveReady" Sample in write.btim:
This Sample is used to wait for HREADY.  Double-click on this
sample the click on the "HDL Code" button to open the "Code
Generation Options" for this sample.  The "Multiplier" is set to
100 which will make the sample will wait up to 100 clock cycles
for HREADY to assert.  "Blocking" is enabled so that the Sample
will block the execution of the transaction until the Sample
finishes.  And "Full Expect" is disabled which means the Sample
does NOT expect to see HREADY asserted for the entire 100 clock
cycles.  Instead, it just expects HREADY to be asserted between
0-100 clock cycles, at which point it will succeed and unblock
the transaction.  If HREADY does not assert within this window
then the Sample will timeout and display an error message then
unblock the transaction.

Here are some relavant help sections:
  2.4-2.6 - covers how to create component instances (how the
            ahb_master project was instantiated)
  6.2 - Sample Conditions and Actions
  6.3 - Interpreting Sample Conditions and Blocking Points

