Commit 6732a77f authored by Martin Jeřábek's avatar Martin Jeřábek
Browse files

do not use std_logic_unsigned

parent f081d560
......@@ -57,7 +57,6 @@
Library ieee;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.ALL;
use ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.ID_transfer.all;
......
......@@ -96,7 +96,6 @@
Library ieee;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.ALL;
use ieee.std_logic_unsigned.All;
use work.CANconstants.all;
entity rxBuffer is
......
......@@ -70,7 +70,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.ID_transfer.all;
......
......@@ -58,7 +58,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
entity txtBuffer is
......@@ -198,14 +197,14 @@ begin
--Store the data into the Buffer during the access
if (tran_wr(ID-1)='1') then
if (tran_addr<4) then
if (to_integer(unsigned(tran_addr))<4) then
txt_buffer_info(to_integer(unsigned(tran_addr))) <= tran_data;
else
txt_buffer_data(to_integer(unsigned(tran_addr-4))) <= tran_data;
txt_buffer_data(to_integer(unsigned(tran_addr))-4) <= tran_data;
end if;
end if;
end if;
end process;
end architecture;
\ No newline at end of file
end architecture;
......@@ -66,7 +66,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
package brs_comp_package is
......
......@@ -79,7 +79,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
use work.CAN_FD_register_map.all;
......
......@@ -106,7 +106,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
use work.brs_comp_package.all;
......
......@@ -57,7 +57,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.CAN_FD_register_map.all;
......
......@@ -74,7 +74,6 @@
library ieee;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
use ieee.std_logic_unsigned.all;
use WORK.CANconstants.all;
entity bitDestuffing is
......
......@@ -69,7 +69,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
entity bitStuffing_v2 is
......
......@@ -73,7 +73,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.CANcomponents.ALL;
use work.CAN_FD_frame_format.ALL;
......
......@@ -61,7 +61,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
entity faultConf is
......
......@@ -48,7 +48,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.CAN_FD_register_map.all;
......
......@@ -165,7 +165,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
use work.CAN_FD_frame_format.all;
use work.CAN_FD_register_map.all;
......
......@@ -49,7 +49,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
entity tranBuffer is
......
......@@ -67,7 +67,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
use work.CANcomponents.ALL;
......
......@@ -50,7 +50,6 @@ Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.math_real.ALL;
USE ieee.std_logic_unsigned.All;
entity timeStampGen is
......
......@@ -42,7 +42,6 @@ Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.math_real.ALL;
USE ieee.std_logic_unsigned.All;
use work.CANconstants.all;
entity txBuffer is
......
......@@ -79,7 +79,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
USE WORK.CANconstants.ALL;
entity CAN_logger is
......
......@@ -47,7 +47,6 @@
Library ieee;
USE IEEE.std_logic_1164.all;
USE IEEE.numeric_std.ALL;
USE ieee.std_logic_unsigned.All;
package ID_transfer is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment