From 641151b7123c4e5dbbb95392f65c0f3960fc0fef Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 10 Jul 2022 14:23:22 -0700 Subject: Rename memory message types for more clarity. --- hdl/defs.svh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'hdl/defs.svh') 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 @@ `define PDP_ADDRESS_BITS 15 -`define NUM_PDPS 1 +`define NUM_PDPS 4 `define UART_BYTE_BITS 8 @@ -37,22 +37,24 @@ typedef struct packed { ram_line_t data; ram_line_mask_t mask; tag_t tag; -} ram_command_t; +} arb_to_ram_t; typedef struct packed { ram_line_address_t address; ram_line_t data; tag_t tag; -} ram_read_response_t; +} ram_to_arb_t; typedef struct packed { pdp_line_address_t address; bit write; + bit snoop_response; ram_line_t data; ram_line_mask_t mask; -} pdp_command_t; +} core_to_mem_t; typedef struct packed { pdp_line_address_t address; + bit snoop; ram_line_t data; -} pdp_read_response_t; +} mem_to_core_t; -- cgit v1.2.3