3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-03 13:07:58 +00:00

Gowin. Handle the WRITE_MODE.

Process the WRITE_MODE in the GW5A series in a more concise manner.

You can check it in the same way as in
https://github.com/YosysHQ/yosys/pull/5440

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2025-10-25 16:36:46 +10:00 committed by Lofty
parent f5c9e122de
commit 3956f103a9
4 changed files with 9 additions and 75 deletions

View file

@ -19,8 +19,10 @@ ram block $__GOWIN_SP_ {
portoption "WRITE_MODE" 1 {
rdwr new;
}
portoption "WRITE_MODE" 2 {
rdwr old;
ifndef gw5a {
portoption "WRITE_MODE" 2 {
rdwr old;
}
}
}
}
@ -46,8 +48,10 @@ ram block $__GOWIN_DP_ {
portoption "WRITE_MODE" 1 {
rdwr new;
}
portoption "WRITE_MODE" 2 {
rdwr old;
ifndef gw5a {
portoption "WRITE_MODE" 2 {
rdwr old;
}
}
}
}