Commit 3e380ae4 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Modified assertions to avoid errors at 0 fs.

parent e1eeb945
......@@ -130,7 +130,7 @@ begin
-- that input values are properly defined
l0_val_proc:process(prio_valid)
begin
if (prio_valid(i) /= '0' and prio_valid(i) /= '1') then
if (prio_valid(i) /= '0' and prio_valid(i) /= '1' and now /= 0 fs) then
report "Input values not exactly defined" severity error;
end if;
end process;
......
......@@ -1009,7 +1009,7 @@ begin
variable cmd_join : std_logic_vector(3 downto 0);
begin
-- pragma translate_off
if (rising_edge(clk_sys)) then
if (rising_edge(clk_sys) and now /= 0 fs) then
if (store_metadata = '1' and rx_fsm /= rxb_idle) then
report "RX Buffer: Store metadata command did NOT come during " &
"'rx_buf_idle'!"severity error;
......@@ -1057,7 +1057,7 @@ begin
variable act_data_stores : natural := 0;
begin
-- pragma translate_off
if (rising_edge(clk_sys)) then
if (rising_edge(clk_sys) and now /= 0 fs) then
-- Calculate number of expected "store_data" commands from CAN Core.
if (rec_abort = '1') then
......
......@@ -202,16 +202,16 @@ begin
CAN_comp:CAN_top_level
generic map(
use_logger => use_logger,
rx_buffer_size => rx_buffer_size,
use_sync => use_sync,
use_logger => false,
rx_buffer_size => 4096,
use_sync => true,
ID => ID,
sup_filtA => sup_filtA,
sup_filtB => sup_filtB,
sup_filtC => sup_filtC,
sup_range => sup_range,
tx_time_sup => tx_time_sup,
sup_be => sup_be,
sup_filtA => true,
sup_filtB => true,
sup_filtC => true,
sup_range => true,
tx_time_sup => true,
sup_be => true,
logger_size => logger_size
)
port map(
......
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