mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-03-12 18:16:55 -04:00
PoC: tb: Write data only once per call to write_word() in tb_tk1
Keep WE and CS high for one clock cycle instead of two. To avoid writing the same address twice.
This commit is contained in:
parent
a9484d9cf4
commit
4532bec84d
@ -301,7 +301,7 @@ module tb_tk1 ();
|
|||||||
tb_write_data = word;
|
tb_write_data = word;
|
||||||
tb_cs = 1;
|
tb_cs = 1;
|
||||||
tb_we = 1;
|
tb_we = 1;
|
||||||
#(2 * CLK_PERIOD);
|
#(CLK_PERIOD);
|
||||||
tb_cs = 0;
|
tb_cs = 0;
|
||||||
tb_we = 0;
|
tb_we = 0;
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user