aboutsummaryrefslogtreecommitdiffstats
path: root/tests/memlib/memlib_multilut.txt
blob: 387f4f8e2877401071dcc0845bfa500fd0058c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ram distributed \LUT_MULTI {
	abits 4;
	width 2;
	init any;
	port arsw "RW" {
		clock posedge;
	}
	ifdef PORTS_QUAD {
		option "PORTS" "QUAD" {
			port ar "R0" "R1" "R2" {
			}
		}
	} else ifdef PORTS_OCT {
		option "PORTS" "OCT" {
			port ar "R0" "R1" "R2" "R3" "R4" "R5" "R6" {
			}
		}
	}
}