Skip to content

Commit 3980fa8

Browse files
bugfix
1 parent 3225ca8 commit 3980fa8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

std/delay_lines.act

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,19 @@ namespace std {
137137
Delay of rising edge - (0-delay + 1-delay) of symm. DL + 5 transitions
138138
Delay of falling edge - 2 transitions
139139
*/
140-
export defproc reuse_1 (bool? in; bool! out; bool! dl_in; bool? dl_out) {
140+
export defproc reuse_1 (bool? in; bool! out; bool! dl_in; bool? dl_out) {
141141
bool x, y, _y;
142142
y = dl_in;
143+
bool _Reset;
143144
std::cells::NOR2X1 nor;
144145
nor.A = dl_out;
145146
nor.B = x;
146147
nor.Y = out;
147148
prs {
149+
Reset => _Reset-
148150
_y => y-
149-
Reset | in & x -> _y-
150-
~Reset & ~x -> _y+
151+
_Reset & in & x -> _y-
152+
~_Reset | ~x -> _y+
151153
dl_out & in #> x-
152154
}
153155
spec {

0 commit comments

Comments
 (0)