Browse Source

Name assume & restrict directives

T. Meissner 1 week 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
108 108
     default clock is rising_edge(Clk_i);
109 109
 
110 110
     -- Initial reset
111
-    restrict {not Reset_n_i[*3]; Reset_n_i[+]}[*1];
111
+    RESTRICT_RESET : restrict
112
+      {not Reset_n_i[*3]; Reset_n_i[+]}[*1];
112 113
 
113 114
     -- Inputs are low during reset for simplicity
114
-    assume always not Reset_n_i -> not Wen_i and not Ren_i;
115
+    ASSUME_INPUTS_DURING_RESET : assume always
116
+      not Reset_n_i ->
117
+      not Wen_i and not Ren_i;
115 118
 
116 119
 
117 120
     -- Asynchronous (unclocked) Reset asserts