Changeset 2286 for src/LTL/LTL.ma


Ignore:
Timestamp:
Aug 2, 2012, 3:18:11 PM (9 years ago)
Author:
tranquil
Message:

Big update!

  • merge of all _paolo variants
  • reorganised some depends (in particular, Register and thus back-end laguages no longer have fake ASM dependency)
  • split I8051.ma spawning new BackEndOps?.ma

compiler.ma broken at the moment, but not by these changes as far as I can tell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/LTL/LTL.ma

    r1378 r2286  
    11include "LIN/joint_LTL_LIN.ma".
    22
    3 definition ltl_params_ : params_ ≝ graph_params_ ltl_lin_params__.
    4 definition ltl_params: ∀globals. params globals ≝ graph_params ltl_lin_params1.
     3definition LTL ≝ mk_graph_params LTL_LIN.
    54
    6 definition ltl_statement ≝ joint_statement ltl_params_.
    7 definition ltl_program ≝ joint_program ltl_params.
     5(* aid unification *)
     6unification hint 0 ≔
     7(*---------------*) ⊢
     8acc_a_reg LTL ≡ unit.
     9unification hint 0 ≔
     10(*---------------*) ⊢
     11acc_a_arg LTL ≡ unit.
     12unification hint 0 ≔
     13(*---------------*) ⊢
     14acc_b_reg LTL ≡ unit.
     15unification hint 0 ≔
     16(*---------------*) ⊢
     17acc_a_arg LTL ≡ unit.
     18unification hint 0 ≔
     19(*---------------*) ⊢
     20snd_arg LTL ≡ hdw_argument.
     21unification hint 0 ≔
     22(*---------------*) ⊢
     23ext_seq LTL ≡ ltl_lin_seq.
     24unification hint 0 ≔
     25(*---------------*) ⊢
     26pair_move LTL ≡ registers_move.
    827
    9 definition ltl_internal_function ≝
    10  λglobals. joint_internal_function … (ltl_params globals).
     28definition ltl_program ≝ joint_program LTL.
     29
     30coercion byte_to_ltl_argument : ∀b: Byte.snd_arg LTL ≝
     31  hdw_argument_from_byte on _b : Byte to snd_arg LTL.
     32coercion reg_to_ltl_argument : ∀r: Register.snd_arg LTL ≝
     33  hdw_argument_from_reg on _r : Register to snd_arg LTL.
Note: See TracChangeset for help on using the changeset viewer.