mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-02-07 18:45:31 -05:00
Write whole byte, not nybbles
This commit is contained in:
parent
a51619e5b7
commit
cbf1104fed
@ -53,7 +53,7 @@ module fw_ram(
|
|||||||
.WCLKE(1'h1),
|
.WCLKE(1'h1),
|
||||||
.WDATA(write_data[15:0]),
|
.WDATA(write_data[15:0]),
|
||||||
.WE(|we),
|
.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),
|
.WCLKE(1'h1),
|
||||||
.WDATA(write_data[31:16]),
|
.WDATA(write_data[31:16]),
|
||||||
.WE(|we),
|
.WE(|we),
|
||||||
.MASK({{4{we[3]}}, {4{we[2]}}})
|
.MASK({{8{we[3]}}, {8{we[2]}}})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user