summaryrefslogtreecommitdiff
path: root/books/workshops/2009/vandenbroek-schmaltz/GeNoC/generic-modules/routecontrol.lisp
blob: 78f1fbe9d6aa86e48dc0c8d4795c5dec3b4eb28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#|$ACL2s-Preamble$;
(begin-book);$ACL2s-Preamble$|#

(in-package "ACL2")#|ACL2s-ToDo-Line|#


(include-book "make-event/defspec" :dir :system)
(include-book "types")

;;
;; Router
;;

(defspec GenericRouteControl
  (((routeControl * *) => (mv * *)))

  (local (defun routeControl (node memory)
           ;; Route a node by trying to route its input ports.
           (mv node memory))))