-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch> Signed-off-by: Olivier Bégassat <38285177+OlivierBBB@users.noreply.github.com> Co-authored-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
- Loading branch information
1 parent
c33a440
commit 564f00e
Showing
3 changed files
with
48 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
(module hub) | ||
|
||
(defconstraint PC-stamp-constancy () | ||
(begin | ||
(hub-stamp-constancy PC) | ||
(hub-stamp-constancy PC_NEW))) | ||
(defconstraint generalities---program-counter---stamp-constancy () | ||
(begin | ||
(hub-stamp-constancy PC) | ||
(hub-stamp-constancy PC_NEW))) | ||
|
||
(defconstraint PC-automatic-vanishing-outside-of-EXEC-phase () | ||
(if-zero TX_EXEC | ||
(begin | ||
(vanishes! PC) | ||
(vanishes! PC_NEW)))) | ||
(defconstraint generalities---program-counter---automatic-vanishing-outside-of-EXEC-phase () | ||
(if-zero TX_EXEC | ||
(begin | ||
(vanishes! PC) | ||
(vanishes! PC_NEW)))) | ||
|
||
(defconstraint PC-automatic-update (:guard PEEK_AT_STACK) | ||
(if-zero (force-bin (+ stack/PUSHPOP_FLAG stack/JUMP_FLAG)) | ||
(eq! PC_NEW (+ 1 PC)))) | ||
(defconstraint generalities---program-counter---automatic-update (:guard PEEK_AT_STACK) | ||
(if-zero (force-bin (+ stack/PUSHPOP_FLAG stack/JUMP_FLAG)) | ||
(eq! PC_NEW (+ 1 PC)))) |