From 0f7437e901f077a8a4ce5f748ddcdf4d629aae09 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Mon, 18 Apr 2022 09:44:27 +0200 Subject: [PATCH] demo: Fix missing record in mac demo Will eventually become part of trashernet, I guess. But for now, let's add it to the top level. --- design/top_mac_test.vhd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/design/top_mac_test.vhd b/design/top_mac_test.vhd index 097ce36..55fe456 100644 --- a/design/top_mac_test.vhd +++ b/design/top_mac_test.vhd @@ -52,6 +52,10 @@ architecture rtl of top_mac_test is others => false ); + type configuration_t is record + mac_address : mac_addr_t; + end record configuration_t; + constant ETH_CONFIG : configuration_t := ( mac_address => (x"00", x"ff", x"ff", x"11", x"22", x"33") );