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:
Mikael Ågren 2024-11-22 14:16:50 +01:00
parent a9484d9cf4
commit 4532bec84d
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_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