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

component And<N1 n=2> {
	port 
		in B in1[n],
		out B out1;

	implementation Math{
	    out1 = and(in1);
	    /*B val=true;
	    for i = 1:n
	        val=and(val,in1[n]);
	    out1=val;*/
	}
}