diff --git a/doc/plan.org b/doc/plan.org index 2b5b1c4..b00cda2 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -6527,7 +6527,8 @@ ARP disabled: } #+END_CENTER -*** TODO 2019-07-24: Vivado Simulator kernel has encounted an exception from DPI C function: LPM_VerifyDataset +*** DONE 2019-07-24: Vivado Simulator kernel has encounted an exception from DPI C function: LPM_VerifyDataset + CLOSED: [2019-07-24 Wed 22:41] - maybe LPM problem -> rewrite tables #+BEGIN_CENTER s/sume-sdnet-switch/projects/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/realmain_lookup_table_0_t.HDL/xpm_memory.sv @@ -6538,7 +6539,23 @@ s/sume-sdnet-switch/projects/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/realmain_l FATAL_ERROR: Vivado Simulator kernel has encounted an exception from DPI C function: LPM_VerifyDataset(). Please correct. Time: 2016466 ps Iteration: 0 Process: /SimpleSumeSwitch_tb/LPM_VerifyDataset File: /home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/Testbench/SimpleSumeSwitch_tb.sv +*** 2019-07-24: table size too small + - raising again - this is a total madness +#+BEGIN_CENTER + out metadata meta, + ^^^^ +minip4_solution.p4(35) +parser RealParser( + ^^^^^^^^^^ +actions_nat64_generic.p4(173): error: table size too small for match_type(EM): 63 < 64 + size = 63; + ^^ +actions_nat64_generic.p4(173): error: could not not map table size size + size = 63; + ^^^^ + +#+END_CENTER #+END_CENTER ** The NetPFGA saga diff --git a/p4src/settings.p4 b/p4src/settings.p4 index d58ce89..a43b872 100644 --- a/p4src/settings.p4 +++ b/p4src/settings.p4 @@ -5,7 +5,7 @@ #define THE_ANSWER_TO_LIFE_THE_UNIVERSE_AND_EVERYTHING 42 /* Important constant */ -#define SIZE_FOR_EVERYTHING 63 +#define SIZE_FOR_EVERYTHING 64 #define ROUTING_TABLE_SIZE SIZE_FOR_EVERYTHING /* maximum routes per protocol */ #define ADDRESS_TABLE_SIZE SIZE_FOR_EVERYTHING /* maximum number of addresses per protocol */