aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/nexus/brams.txt
blob: 975a8d227db3c53891570ecc7661e599a80b8511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
ram block $__NX_DP16K_ {
	abits 14;
	widths 1 2 4 9 18 per_port;
	byte 9;
	cost 129;
	init no_undef;
	port srsw "A" "B" {
		clock posedge;
		clken;
		wrbe_separate;
		rdwr no_change;
		portoption "RESETMODE" "SYNC" {
			rdsrst zero gated_clken;
		}
		portoption "RESETMODE" "ASYNC" {
			rdarst zero;
		}
		rdinit zero;
	}
}

ram block $__NX_PDP16K_ {
	abits 14;
	widths 1 2 4 9 18 36 per_port;
	byte 9;
	option "SAME_CLOCK" 1 cost 128;
	option "SAME_CLOCK" 0 cost 129;
	init no_undef;
	port sr "R" {
		option "SAME_CLOCK" 1 clock posedge "C";
		option "SAME_CLOCK" 0 clock posedge;
		clken;
		portoption "RESETMODE" "SYNC" {
			rdsrst zero gated_clken;
		}
		portoption "RESETMODE" "ASYNC" {
			rdarst zero;
		}
		rdinit zero;
	}
	port sw "W" {
		option "SAME_CLOCK" 1 clock posedge "C";
		option "SAME_CLOCK" 0 clock posedge;
		clken;
		option "SAME_CLOCK" 1 wrtrans all old;
	}
}