summaryrefslogtreecommitdiff
path: root/hdl/defs.svh
diff options
context:
space:
mode:
Diffstat (limited to 'hdl/defs.svh')
-rw-r--r--hdl/defs.svh12
1 files changed, 7 insertions, 5 deletions
diff --git a/hdl/defs.svh b/hdl/defs.svh
index f8b1032..73fddaf 100644
--- a/hdl/defs.svh
+++ b/hdl/defs.svh
@@ -5,7 +5,7 @@
5 5
6`define PDP_ADDRESS_BITS 15 6`define PDP_ADDRESS_BITS 15
7 7
8`define NUM_PDPS 1 8`define NUM_PDPS 4
9 9
10`define UART_BYTE_BITS 8 10`define UART_BYTE_BITS 8
11 11
@@ -37,22 +37,24 @@ typedef struct packed {
37 ram_line_t data; 37 ram_line_t data;
38 ram_line_mask_t mask; 38 ram_line_mask_t mask;
39 tag_t tag; 39 tag_t tag;
40} ram_command_t; 40} arb_to_ram_t;
41 41
42typedef struct packed { 42typedef struct packed {
43 ram_line_address_t address; 43 ram_line_address_t address;
44 ram_line_t data; 44 ram_line_t data;
45 tag_t tag; 45 tag_t tag;
46} ram_read_response_t; 46} ram_to_arb_t;
47 47
48typedef struct packed { 48typedef struct packed {
49 pdp_line_address_t address; 49 pdp_line_address_t address;
50 bit write; 50 bit write;
51 bit snoop_response;
51 ram_line_t data; 52 ram_line_t data;
52 ram_line_mask_t mask; 53 ram_line_mask_t mask;
53} pdp_command_t; 54} core_to_mem_t;
54 55
55typedef struct packed { 56typedef struct packed {
56 pdp_line_address_t address; 57 pdp_line_address_t address;
58 bit snoop;
57 ram_line_t data; 59 ram_line_t data;
58} pdp_read_response_t; 60} mem_to_core_t;