aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-28Some whitespace cleanup.Joachim Strömbergson
2018-09-28Completed the functionality that should be in the wrapper. Now its just ↵Joachim Strömbergson
debugging...
2018-09-28Got all states needed. Added hold registers for address and data to be written.Joachim Strömbergson
2018-09-28Adding initial version of mkmif wrapper used by keywrap_core to hide ↵Joachim Strömbergson
protocol complexity.
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-25Updated the keywrap API to support access to MKM status. Updated ↵Joachim Strömbergson
keywrap_core to support control of MKM access operations.
2018-09-25Increased control state space to make room for read and write operations.Joachim Strömbergson
2018-09-25Integrate the mkmif_core instead of the mkmif wrapper.Joachim Strömbergson
2018-09-21Adding more infrastructure needed for the integrated mkm.Joachim Strömbergson
2018-09-18Adding more functionality needed for the mkm integration.Joachim Strömbergson
2018-09-18Increasing control state reg to support more states. Adding first states for ↵Joachim Strömbergson
read and write key handling.
2018-09-18Adding API control bits to read and write key.Joachim Strömbergson
2018-09-18Moved compile time debug access control of key to the API. Added correct ↵Joachim Strömbergson
code to mux key.
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-24We probably want to be able to read data too.Joachim Strömbergson
2018-08-24Killed the bank switching.Joachim Strömbergson
2018-08-24Performed Verilog parameter magic to make the design scaleable in terms of ↵Joachim Strömbergson
capacity. Does not yet work, but at least the linter is fairly happy.
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-16Updated the info about max object size supports and number of banks.Joachim Strömbergson
2018-08-15Fix some misleading messages, and enable all tests.Paul Selkirk
2018-07-24Added explicit width specification for constant to silence truncation warning.support_HAL_KS_WRAPPED_KEYSIZEJoachim Strömbergson
2018-07-06Updated README with status and information about the implementation.Joachim Strömbergson
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-05Adding wait state to allow access from memory to complete. Should be ↵Joachim Strömbergson
possible to optimize.
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-05Updated keywrap logic to support unwrap. Split state to handle next start in ↵Joachim Strömbergson
both wrap and unwrap cases.
2018-07-05Adding state and counter functionality to support unwrap. Changed name of ↵Joachim Strömbergson
define to something more comprehensible.
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-05Removed a few states and a few cycles.Joachim Strömbergson
2018-07-05We use the aes_speed core instead.Joachim Strömbergson
2018-07-05Adding tool to generate write commands.Joachim Strömbergson
2018-07-05Adding testcase for wrapping 4096 bit data.Joachim Strömbergson
2018-07-05We haz keywrap! Time to add more testcases and make them self testing. Oh ↵Joachim Strömbergson
and implement unwrap.
2018-07-05Debugged keywrap processing including A update. All AES operations works ↵Joachim Strömbergson
correctly. Now we just need to stop processing whe we should.
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.