diff --git a/src/IDL-VHDL_Ref.txt b/src/IDL-VHDL_Ref.txt index dedbb93..5fdefec 100644 --- a/src/IDL-VHDL_Ref.txt +++ b/src/IDL-VHDL_Ref.txt @@ -110,7 +110,7 @@ NAME DIRECTION CONNECTED * GET__LENGTH The first decode_stage is similar to a 4-byte primitive decode stage and latches the length of the sequence into the _len_latch. If the length is equal zero, the decode_stage of the next - declared member is taken, instead of the GET_. If on the other hand, the length if greater + declared member is taken, instead of the GET_. If on the other hand, the length is greater than the MAX sequence length specified in the type package, the length is set to the value of the type package. A special _cnt counter (used to index the type specific memory) is initialized to 0. NOTE: It could be configured, that instead of truncating larger sequences, a decode error is triggered. @@ -121,6 +121,9 @@ NAME DIRECTION CONNECTED respective size, the _cnt is incremented, and if the current _cnt is equal to _len-1, the decode_stage of the next declared member is taken. +A 'abort_mem' signal is defined and connected (ORed) to the reset port of all memories. The 'abort_mem' +signal is pulled high when leaving from the IDLE stage to clear all memory output latches. + ARRAY ----- Array is similar to the sequence, but has no length encoding (since it always has the same size). diff --git a/src/ros2/TEMPLATE_ros_pub.vhd b/src/ros2/TEMPLATE_ros_pub.vhd index 2bad921..6234b50 100644 --- a/src/ros2/TEMPLATE_ros_pub.vhd +++ b/src/ros2/TEMPLATE_ros_pub.vhd @@ -129,7 +129,7 @@ begin stage_next <= RETURN_ROS; end case; -- RESET - abort_mem <= '1'; + abort_mem <= '1'; else -- ###GENERATED START### -- MEMORY SIGNAL CONNECTIONS diff --git a/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test1.vhd b/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test1.vhd index 6c63852..8fad21b 100644 --- a/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test1.vhd +++ b/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test1.vhd @@ -16,7 +16,7 @@ use work.rtps_test_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Big Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Big Endian Encoding/Decoding of Service Messages entity L1_AddTwoInts_ros_srv_test1 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test2.vhd b/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test2.vhd index 9e4e61b..d880b85 100644 --- a/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test2.vhd +++ b/src/ros2/Tests/Level_1/L1_AddTwoInts_ros_srv_test2.vhd @@ -16,7 +16,7 @@ use work.rtps_test_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Little Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Little Endian Encoding/Decoding of Service Messages entity L1_AddTwoInts_ros_srv_test2 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test1.vhd b/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test1.vhd index 4bebab5..b1492d7 100644 --- a/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test1.vhd +++ b/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test1.vhd @@ -17,7 +17,7 @@ use work.CancelGoal_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Big Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Big Endian Encoding/Decoding of Service Messages entity L1_CancelGoal_ros_srv_test1 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test2.vhd b/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test2.vhd index d586a8c..993f15d 100644 --- a/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test2.vhd +++ b/src/ros2/Tests/Level_1/L1_CancelGoal_ros_srv_test2.vhd @@ -17,7 +17,7 @@ use work.CancelGoal_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Little Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Little Endian Encoding/Decoding of Service Messages entity L1_CancelGoal_ros_srv_test2 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test1.vhd b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test1.vhd index 471823f..01e87a0 100644 --- a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test1.vhd +++ b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test1.vhd @@ -16,7 +16,7 @@ use work.rtps_test_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Big Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Big Endian Encoding/Decoding of Service Messages entity L1_Fibonacci_ros_action_goal_srv_test1 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test2.vhd b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test2.vhd index 9bf665e..c7dae44 100644 --- a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test2.vhd +++ b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_goal_srv_test2.vhd @@ -16,7 +16,7 @@ use work.rtps_test_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Little Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Little Endian Encoding/Decoding of Service Messages entity L1_Fibonacci_ros_action_goal_srv_test2 is end entity; diff --git a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_result_srv_test1.vhd b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_result_srv_test1.vhd index 941d06a..92d1909 100644 --- a/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_result_srv_test1.vhd +++ b/src/ros2/Tests/Level_1/L1_Fibonacci_ros_action_result_srv_test1.vhd @@ -17,7 +17,7 @@ use work.Fibonacci_package.all; -- * Test RETCODE_ERROR response from DDS Reader -- * Test RETCODE_ERROR response from DDS Writer -- * Test Sample with No Valid response from DDS Reader --- * Test Big Endian Encoding/Decoding of AddTwoInts Service Messages +-- * Test Big Endian Encoding/Decoding of Service Messages entity L1_Fibonacci_ros_action_result_srv_test1 is end entity;