// "timed-fifo-d.hac"
// copy-modified from "timed-fifo-a.hac"
//	$Id: timed-fifo-d.hac,v 1.3 2007/08/09 05:49:51 fang Exp $
// specifying explicit latencies in buffers
// don't forget to use timing per-event to overide uniform

import "testlib/bool-sink.hac";
import "testlib/bool-source.hac";
import "testlib/bool-buf.hac";

chan(bool) L, R;
bool_source_delay src<2,{true,false},10.0>(L);	// bottle-neck
bool_sink_delay<5.0> snk(R);
timed_bool_fifo<2, 2.0, 6.0> fifo(L, R);	// cycle-time 8

