aboutsummaryrefslogtreecommitdiff
path: root/src/tb
AgeCommit message (Collapse)Author
2018-12-07Solved event loop.integrate_mkmifJoachim Strömbergson
2018-11-27Adding test that tries to write a key into the serial memory.Joachim Strömbergson
2018-11-27Adding check that correct status word was written into the serial memory.Joachim Strömbergson
2018-11-23Added ability observe mkmif state. Realized that the write operation handler ↵Joachim Strömbergson
was under read operation handling. Fixed this and now status write works. We can observe 0xdeadbeef in the memory after status write operation.
2018-11-23Updated display of states. We can now observe correct init of the memory.Joachim Strömbergson
2018-11-23Adding task to dump parts of the contents of the serial memory.Joachim Strömbergson
2018-11-23Added observation of mem internal control states.Joachim Strömbergson
2018-11-23Enabled spi observation and can see that SPI interface is alive when pulling ↵Joachim Strömbergson
init.
2018-11-23Adding test case for mem init. Removing auto-load test case since the dut ↵Joachim Strömbergson
does not support auto load. Updating the write status test case to use wait_ready() for dut status.
2018-11-22Adding outputs to observe dut API. Adding support in Makefile for using the ↵Joachim Strömbergson
vendor supplied memory model.
2018-11-06Fixed incorrect address used for the key. Added testcase to verify reading ↵Joachim Strömbergson
of status word.
2018-11-06Adding test case to observe auto-load of key and status after reset.Joachim Strömbergson
2018-10-30Integrated the DUT into the testbench and update Makefile to build the sim ↵Joachim Strömbergson
target-
2018-09-28Adding initial version of testbench for the mkmif wrapper.Joachim Strömbergson
2018-09-28Completed syntax debug after integration of new mkmif_core wrapper.Joachim Strömbergson
2018-09-25Added logic to perform status word read operation from the mkm. Adding ↵Joachim Strömbergson
interfaces and registers to be able to pass mkm status to host. Updated dut instantiation in core testbench to.
2018-09-18Adding API control bits to read and write key.Joachim Strömbergson
2018-09-18Moved the mkmif instance into the core itself. Added API to read the key if ↵Joachim Strömbergson
DEBUG is set.
2018-09-14Adding instatiation of the mkmif in the keywrap top level wrapper. Updated ↵Joachim Strömbergson
testbench anf Makefile to build with instantiated mkmif. The mkmif is not yet used by the keywrap.
2018-09-11Adding a huge, self testing test case.Joachim Strömbergson
2018-09-07Updated testbench to use the new API. Verified that the new API works. No ↵increase_api_addr_spaceJoachim Strömbergson
more banks.
2018-09-07Removed r_bank from dump since it no longer exists.Joachim Strömbergson
2018-09-07Test write to all positions in the mem.Joachim Strömbergson
2018-09-04Updated rtl and tb to support parameterized memory size.Joachim Strömbergson
2018-09-04Updated testbench to handle parameterized core.Joachim Strömbergson
2018-09-04Updated testbench to work with the parameterized memory.Joachim Strömbergson
2018-08-23Adding top level defines for setting size and address bits.Joachim Strömbergson
2018-08-16Adding delay cycle to API regs to match the latency for accessing the ↵Joachim Strömbergson
blockRAM. Added test case that checks access to the API regs.
2018-08-15Fix some misleading messages, and enable all tests.Paul Selkirk
2018-07-06(1) Updated version to reflect status. (2) Minor fix after running sim in ↵Joachim Strömbergson
ModelSim.
2018-07-06Adding test case for 4096 bit unwrap. Testcase passed! We have unwrap.Joachim Strömbergson
2018-07-06Debugged key unwrap. First testcase for unwerap passed. Added some more ↵Joachim Strömbergson
debug outputs.
2018-07-06(1) Fixed dump of core_addr in testbench to actually show the core_addr. ↵Joachim Strömbergson
Fixed boundaries for the block counter. Now we don't read mem out of bounds.
2018-07-05Fixing block counter init bug. Enabling detailed debugging. Fixing minor nits.Joachim Strömbergson
2018-07-05Fixed minor details in unwrap test case. Enabled unwrap test case.Joachim Strömbergson
2018-07-05Adding unwrap test case.Joachim Strömbergson
2018-07-05Adding wrap test case with 4096 bit plaintext from NIST. Test result matches ↵Joachim Strömbergson
model.
2018-07-05We haz keywrap! Time to add more testcases and make them self testing. Oh ↵Joachim Strömbergson
and implement unwrap.
2018-07-05Fixed memory word order. Fixed a number of bugs. First block encrypted ↵Joachim Strömbergson
correctly. A state is wrong and memory is read too far.
2018-07-05Removed the streaming interface in favor of a normal address based ↵Joachim Strömbergson
interface. A bit more kludgy, esp since we need to use bank switching to be able to provide enough address space. But this removes a possible problem of the streaming address counter running wild.
2018-07-03Adding more dump outputs. wrap does not yet work, but one can see when ↵Joachim Strömbergson
things go bad and where the isssues are.
2018-07-03Good news: The core peformcs all AES operations and stops after correct ↵Joachim Strömbergson
number of operations. Bad news: All values are wrong.
2018-07-03Debugged a lot of minor errors and added a lot of debug functions. Things ↵Joachim Strömbergson
are starting to work. As in AES is actually initialized and used.
2018-07-03Add support to dump contents of memory to check that data has been written ↵Joachim Strömbergson
correctly.
2018-07-03Added test case with vectors from NIST KWP AE. Test fails. But at least it ↵Joachim Strömbergson
doesn't hang. Now for some bug hunting.
2018-07-03Adding additional test code to verify that core read-modify-write and api ↵Joachim Strömbergson
rread works correctly.
2018-07-03Added first tasks to test api write and core read. Everything works as expected.Joachim Strömbergson
2018-07-01Connected the dut in the core testbench.Joachim Strömbergson
2018-06-29Connected the keymem dut into the testbench.Joachim Strömbergson
2018-06-29Adding more tasks for tb infrastructure.Joachim Strömbergson