This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# Copyright (C) 2016, Maximilian Köhl <[email protected]> | |
""" | |
Python interface to the ModelSim simulator. The simulator is instrumented using FIFO pipes | |
such that it becomes fully controllable from within Python using TCL commands. | |
""" | |
import contextlib |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# Copyright (C) 2017, Maximilian Köhl <[email protected]> | |
def _literal(string): | |
literal = int(string) | |
return -(literal // 2) if literal & 1 else literal // 2 | |
This file contains hidden or 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
Require Import Relations. | |
Set Implicit Arguments. | |
Section LTL. | |
Variable State : Type. | |
(* Traces *) | |
CoInductive Trace : Type := | |
| Cons : State -> Trace -> Trace. |
OlderNewer