Add CLOCK_PERIOD to ros_config
This commit is contained in:
parent
0396097f05
commit
854b62a379
@ -10,6 +10,8 @@ use work.rtps_package.all; -- gen_user_string
|
|||||||
|
|
||||||
package ros_config is
|
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]
|
-- IPv4 Address of ROS System [Default 192.168.0.128]
|
||||||
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80080";
|
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80080";
|
||||||
-- Random Key used to generate GUIDs
|
-- Random Key used to generate GUIDs
|
||||||
|
|||||||
@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
|
|||||||
|
|
||||||
package ros_config is
|
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]
|
-- IPv4 Address of ROS System [Default 192.168.0.129]
|
||||||
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80081";
|
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80081";
|
||||||
-- Random Key used to generate GUIDs
|
-- Random Key used to generate GUIDs
|
||||||
|
|||||||
@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
|
|||||||
|
|
||||||
package ros_config is
|
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]
|
-- IPv4 Address of ROS System [Default 192.168.0.130]
|
||||||
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80082";
|
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A80082";
|
||||||
-- Random Key used to generate GUIDs
|
-- Random Key used to generate GUIDs
|
||||||
|
|||||||
@ -14,7 +14,7 @@ package user_config is
|
|||||||
--*****USER CONFIG*****
|
--*****USER CONFIG*****
|
||||||
|
|
||||||
-- Period of system clock
|
-- 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)
|
-- Maximum number of supported remote Participants (Affects generated Memory Size)
|
||||||
constant MAX_REMOTE_PARTICIPANTS : natural := 50;
|
constant MAX_REMOTE_PARTICIPANTS : natural := 50;
|
||||||
-- Maximum number of supported remote Endpoints (Affects generated Memory Size)
|
-- Maximum number of supported remote Endpoints (Affects generated Memory Size)
|
||||||
|
|||||||
@ -11,6 +11,8 @@ use work.AddTwoInts_package.all;
|
|||||||
|
|
||||||
package ros_config is
|
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]
|
-- IPv4 Address of ROS System [192.168.0.90]
|
||||||
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A8005A";
|
constant ROS_ADDRESS : std_logic_vector(IPv4_ADDRESS_WIDTH-1 downto 0) := x"C0A8005A";
|
||||||
-- Random Key used to generate GUIDs
|
-- Random Key used to generate GUIDs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user