File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,22 @@ ram block $__NX_RAM_ {
9
9
abits 14;
10
10
widths 2 per_port;
11
11
}
12
- option "STD_MODE" "NOECC_16kx3" {
13
- abits 14;
14
- widths 3 per_port;
12
+ ifdef IS_NG_LARGE {
13
+ option "STD_MODE" "NOECC_16kx3" {
14
+ abits 14;
15
+ widths 3 per_port;
16
+ }
15
17
}
16
18
option "STD_MODE" "NOECC_12kx4" {
17
19
# only 8k used
18
20
abits 13;
19
21
widths 4 per_port;
20
22
}
21
- option "STD_MODE" "NOECC_8kx6" {
22
- abits 13;
23
- widths 6 per_port;
23
+ ifdef IS_NG_LARGE {
24
+ option "STD_MODE" "NOECC_8kx6" {
25
+ abits 13;
26
+ widths 6 per_port;
27
+ }
24
28
}
25
29
option "STD_MODE" "NOECC_6kx8" {
26
30
# only 4k used
Original file line number Diff line number Diff line change @@ -264,6 +264,8 @@ struct SynthNanoXplorePass : public ScriptPass
264
264
if (check_label (" map_ram" ))
265
265
{
266
266
std::string args = " " ;
267
+ if (family == " large" )
268
+ args += " -D IS_NG_LARGE" ;
267
269
if (nobram)
268
270
args += " -no-auto-block" ;
269
271
if (norfram)
You can’t perform that action at this time.
0 commit comments