Delay.emam 181 Bytes
Newer Older
Malte Heithoff's avatar
Malte Heithoff committed
1
2
3
4
5
6
7
8
9
10
11
12
13
package de.rwth.pacman.common;

component Delay<Q val = 0> {
	port 
		in Q in1,
		out Q out1;
	
	implementation Math {
	   static Q prev = val;
	   out1 = prev;
	   prev = in1;
	}
}