Browse Source

Name assume & restrict directives

master
T. Meissner 4 years ago
parent
commit
db4cdea24a
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      fifo/fifo.vhd

+ 5
- 2
fifo/fifo.vhd View File

@ -108,10 +108,13 @@ begin
default clock is rising_edge(Clk_i); default clock is rising_edge(Clk_i);
-- Initial reset -- Initial reset
restrict {not Reset_n_i[*3]; Reset_n_i[+]}[*1];
RESTRICT_RESET : restrict
{not Reset_n_i[*3]; Reset_n_i[+]}[*1];
-- Inputs are low during reset for simplicity -- Inputs are low during reset for simplicity
assume always not Reset_n_i -> not Wen_i and not Ren_i;
ASSUME_INPUTS_DURING_RESET : assume always
not Reset_n_i ->
not Wen_i and not Ren_i;
-- Asynchronous (unclocked) Reset asserts -- Asynchronous (unclocked) Reset asserts


Loading…
Cancel
Save