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:
Mikael Ågren 2024-11-22 14:16:50 +01:00
parent 0b829cc9ee
commit b1047b3618
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46

View File

@ -301,7 +301,7 @@ module tb_tk1 ();
tb_write_data = word;
tb_cs = 1;
tb_we = 1;
#(2 * CLK_PERIOD);
#(CLK_PERIOD);
tb_cs = 0;
tb_we = 0;
end