mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 06:06:24 -04:00
Write whole byte, not nybbles
This commit is contained in:
parent
a51619e5b7
commit
cbf1104fed
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ module fw_ram(
|
|||
.WCLKE(1'h1),
|
||||
.WDATA(write_data[15:0]),
|
||||
.WE(|we),
|
||||
.MASK({{4{we[1]}}, {4{we[0]}}})
|
||||
.MASK({{8{we[1]}}, {8{we[0]}}})
|
||||
);
|
||||
|
||||
|
||||
|
@ -68,7 +68,7 @@ module fw_ram(
|
|||
.WCLKE(1'h1),
|
||||
.WDATA(write_data[31:16]),
|
||||
.WE(|we),
|
||||
.MASK({{4{we[3]}}, {4{we[2]}}})
|
||||
.MASK({{8{we[3]}}, {8{we[2]}}})
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue