From: Andreas Neiser Date: Wed, 27 May 2015 15:43:06 +0000 (+0200) Subject: Allowed 13 data buffers in endpoint (dont know if adder is actually efficient) X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f12599c5d0154f9a195326fe00179026e2d8834f;p=trbnet.git Allowed 13 data buffers in endpoint (dont know if adder is actually efficient) --- diff --git a/special/handler_ipu.vhd b/special/handler_ipu.vhd index ff72fe8..b9d65c2 100644 --- a/special/handler_ipu.vhd +++ b/special/handler_ipu.vhd @@ -305,9 +305,20 @@ begin (((dat_fifo_read_length(8)) + (dat_fifo_read_length(9))) + ((dat_fifo_read_length(10)) + (dat_fifo_read_length(11)))); end generate; + + gen_add_13 : if DATA_INTERFACE_NUMBER = 13 generate + next_total_length <= (((dat_fifo_read_length(0)) + (dat_fifo_read_length(1))) + + ((dat_fifo_read_length(2)) + (dat_fifo_read_length(3)))) + + (((dat_fifo_read_length(4)) + (dat_fifo_read_length(5))) + + ((dat_fifo_read_length(6)) + (dat_fifo_read_length(7)))) + + (((dat_fifo_read_length(8)) + (dat_fifo_read_length(9))) + + ((dat_fifo_read_length(10)) + (dat_fifo_read_length(11)))) + + (((dat_fifo_read_length(12)))) + ; + end generate; -assert (DATA_INTERFACE_NUMBER <= 7 or DATA_INTERFACE_NUMBER = 12) - report "The number of data interfaces must be lower than 8 or equal 12." severity error; +assert (DATA_INTERFACE_NUMBER <= 7 or DATA_INTERFACE_NUMBER = 12 or DATA_INTERFACE_NUMBER = 13) + report "The number of data interfaces must be lower than 8 or equal 12 or equal 13." severity error; ---------------------------------------------------------------------------