mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-03 00:28:08 +00:00
gowin: Change BYTE ENABLE handling.
When inferring we allow writing to all bytes for now. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
80511ced71
commit
a5fdf3f881
2 changed files with 11 additions and 31 deletions
|
@ -1,13 +1,11 @@
|
|||
ram block $__GOWIN_SP_ {
|
||||
abits 14;
|
||||
widths 1 2 4 9 18 36 per_port;
|
||||
byte 9;
|
||||
cost 128;
|
||||
init no_undef;
|
||||
port srsw "A" {
|
||||
clock posedge;
|
||||
clken;
|
||||
wrbe_separate;
|
||||
option "RESET_MODE" "SYNC" {
|
||||
rdsrst zero ungated;
|
||||
}
|
||||
|
@ -30,13 +28,11 @@ ram block $__GOWIN_SP_ {
|
|||
ram block $__GOWIN_DP_ {
|
||||
abits 14;
|
||||
widths 1 2 4 9 18 per_port;
|
||||
byte 9;
|
||||
cost 128;
|
||||
init no_undef;
|
||||
port srsw "A" "B" {
|
||||
clock posedge;
|
||||
clken;
|
||||
wrbe_separate;
|
||||
option "RESET_MODE" "SYNC" {
|
||||
rdsrst zero ungated;
|
||||
}
|
||||
|
@ -59,7 +55,6 @@ ram block $__GOWIN_DP_ {
|
|||
ram block $__GOWIN_SDP_ {
|
||||
abits 14;
|
||||
widths 1 2 4 9 18 36 per_port;
|
||||
byte 9;
|
||||
cost 128;
|
||||
init no_undef;
|
||||
port sr "R" {
|
||||
|
@ -76,6 +71,5 @@ ram block $__GOWIN_SDP_ {
|
|||
port sw "W" {
|
||||
clock posedge;
|
||||
clken;
|
||||
wrbe_separate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue