[Cryptech Tech] Grand unifying core api

Joachim Strömbergson joachim at secworks.se
Mon Oct 5 11:44:19 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

We should also try to harmonize api bits. The common theme seems to be:

  localparam ADDR_CTRL        = 8'h08;
  localparam CTRL_INIT_BIT    = 0;
  localparam CTRL_NEXT_BIT    = 1;

  localparam ADDR_STATUS      = 8'h09;
  localparam STATUS_READY_BIT = 0;
  localparam STATUS_VALID_BIT = 1;

We have been talking about api_error flag and clear bit. The TRNG also
has some control bits for test mode and discard state (i.e. full
restart). The trng should probably also have a reseed control bit.

What is your suggestion here Rob? Use bit 31 as error bit (status and
control) and bits [2..30] open for core specific stuff? Reserve some
bits for common things? The first eight or 16 or so.

Wisdom appreciated.
- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJWEmKTAAoJEF3cfFQkIuyN750QAIb8lwRM19oRvlDS137HVGxZ
z/MEZFuhT1cSKY+6prSpcUDjdktC6uXqyQ3tWao99zhEq+bkq9dmHNqTzwoDju9K
nN4dfE/s7+CLch4EIfZbMgHCi25u5t2uR3RPllDVS6Y2nS8hN9AavFeHRDx4Bmtk
fSnxSs+M0SCrAJVYZjkc8XE9h///8dfj8KqOGuj6JN12fwohVyTIXX7/IAhnJwL9
BfqiUFZPhN9ozAljWkY2KvQfqpgsuGQEdlsobjBPOaGF0CldZHYg9LGn/7wk/bEd
OuUPeiNP6ZEsKlSYe57Ks4Ibg+39rHj91ralRFnaQIieXuwoQ9o5t2KNT+LbtEHd
vua2C3SLkzIp8plwY0sOlOrRSvvNfSjdS8bDsfSIwPE54YaHr5/vSuqqYc79GDZt
FVcU7ATqNRSjXf8Yv0qYk90J+IKpszE2pO6jXXe6VOLpfczjNnOd6DUkL0AVWSwZ
M3idhyX2ef/r8E+3p0VBA8qFhWm73wutGkkbps38eCeQUxmhAIGkhukhnghouKao
08Ve90BG7FL97nDsLk2aJ98zgrTSJLU2mlNCwHihcz0keQNgM3bRiGd8e+hRh+UI
yQ5evPo8y5qOK/wHpnxcVUcNkWucmQAmQoUZA4TZJBt3WjuFEVS5ERJd4JAL9UaN
9d+Sn84dAz0F4vC2LAK7
=rP1z
-----END PGP SIGNATURE-----


More information about the Tech mailing list