[Open Crypto Project] #25: Cleanup/unify core APIs.

Open Crypto Project trac at cryptech.is
Thu Apr 30 09:21:15 UTC 2015


#25: Cleanup/unify core APIs.
-------------------------+-----------------------
 Reporter:  joachims     |       Owner:  joachims
     Type:  enhancement  |      Status:  new
 Priority:  minor        |   Milestone:
Component:  HAL          |     Version:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-----------------------
 The cores would be easier to use if their API is similar. As a minimum
 they should have the following addresses defined:

 ADDR_NAME0       = 8'h00;
 ADDR_NAME1       = 8'h01;
 ADDR_VERSION     = 8'h02;

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

 ADDR_STATUS      = 8'h0a;
 STATUS_READY_BIT = 0;
 STATUS_VALID_BIT = 1;

 The bits are less important. But having init/start on bit 0 of the control
 register and ready on bit 0 of the status register is desired.

 We need to go through our cores and change the APIs to match this. The big
 impact is proabbly test benches which means that we need to rerun tests to
 ensure that the changes don't break anything.

--
Ticket URL: <https://trac.cryptech.is/ticket/25>
Open Crypto Project <https://wiki.cryptech.is/>



More information about the Ticket-BCC mailing list