mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02: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 <[email protected]>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user