Add CLOCK_PERIOD to ros_config

This commit is contained in:
Greek 2022-01-27 20:42:59 +01:00 committed by Greek64
parent 0396097f05
commit 854b62a379
5 changed files with 11 additions and 3 deletions

View File

@ -10,6 +10,8 @@ use work.rtps_package.all; -- gen_user_string
package ros_config is
-- Period of ros system clock
constant ROS_CLOCK_PERIOD : time := 50 ns;
-- IPv4 Address of ROS System [Default 192.168.0.128]
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80080";
-- Random Key used to generate GUIDs

View File

@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
package ros_config is
-- Period of ros system clock
constant ROS_CLOCK_PERIOD : time := 50 ns;
-- IPv4 Address of ROS System [Default 192.168.0.129]
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80081";
-- Random Key used to generate GUIDs

View File

@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
package ros_config is
-- Period of ros system clock
constant ROS_CLOCK_PERIOD : time := 50 ns;
-- IPv4 Address of ROS System [Default 192.168.0.130]
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80082";
-- Random Key used to generate GUIDs

View File

@ -14,7 +14,7 @@ package user_config is
--*****USER CONFIG*****
-- Period of system clock
constant CLOCK_PERIOD : time := 50 ns;
constant CLOCK_PERIOD : time := ROS_CLOCK_PERIOD;
-- Maximum number of supported remote Participants (Affects generated Memory Size)
constant MAX_REMOTE_PARTICIPANTS : natural := 50;
-- Maximum number of supported remote Endpoints (Affects generated Memory Size)

View File

@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
package ros_config is
-- Period of ros system clock
constant ROS_CLOCK_PERIOD : time := 20 ns; -- 50 MHz
-- IPv4 Address of ROS System [192.168.0.90]
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A8005A";
-- Random Key used to generate GUIDs