Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zeroasiccorp/umi into regif-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aolofsson committed Jan 28, 2025
2 parents 4c48df0 + f66a285 commit 7a765fb
Show file tree
Hide file tree
Showing 3 changed files with 522 additions and 181 deletions.
11 changes: 9 additions & 2 deletions umi/sumi/rtl/umi_messages.vh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@
*
******************************************************************************/

// Requests (host -> device)
localparam UMI_MAXSIZE = 1024; // max word size per transaction
localparam UMI_MAXLEN = 256; // max word transfers per transaction

// Invalid transaction indicator (cmd[7:0])
localparam UMI_INVALID = 8'h00;

// Requests (host -> device)
// Requests (host -> device) (cmd[7:0])
localparam UMI_REQ_READ = 5'h01; // read/load
localparam UMI_REQ_WRITE = 5'h03; // write/store with ack
localparam UMI_REQ_POSTED = 5'h05; // posted write
Expand All @@ -34,7 +39,8 @@ localparam UMI_REQ_USER0 = 5'h0B; // reserved for user
localparam UMI_REQ_FUTURE0 = 5'h0D; // reserved fur future use
localparam UMI_REQ_ERROR = 8'h0F; // reserved for error message
localparam UMI_REQ_LINK = 8'h2F; // reserved for link ctrl
// Response (device -> host)

// Response (device -> host) (cmd[7:0])
localparam UMI_RESP_READ = 5'h02; // response to read request
localparam UMI_RESP_WRITE = 5'h04; // response (ack) from write request
localparam UMI_RESP_USER0 = 5'h06; // signal write without ack
Expand All @@ -43,6 +49,7 @@ localparam UMI_RESP_FUTURE0 = 5'h0A; // reserved for future use
localparam UMI_RESP_FUTURE1 = 5'h0C; // reserved for future use
localparam UMI_RESP_LINK = 8'h0E; // reserved for link ctrl

// Atomic command decode (cmd[15:8])
localparam UMI_REQ_ATOMICADD = 8'h00;
localparam UMI_REQ_ATOMICAND = 8'h01;
localparam UMI_REQ_ATOMICOR = 8'h02;
Expand Down
179 changes: 0 additions & 179 deletions umi/sumi/rtl/umi_stimulus.v

This file was deleted.

Loading

0 comments on commit 7a765fb

Please sign in to comment.