summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-11-18Fix various pattern match bugs; add a few functionsKathy Gray
2014-11-17Use red printing for the value in the hole from Printing_functions instead ↵Kathy Gray
of mangling the ascii manually
2014-11-17Make env_union intelligently join two environments instead of just list append.Kathy Gray
2014-11-17wibPeter Sewell
2014-11-16Add some missing functionsKathy Gray
2014-11-16Add overflow checking arithmetic operations. Fix various bugs that this exposedKathy Gray
Of note: Interp_lib.to_num now takes an Unsigned or a Signed constructor, rather than a boolean
2014-11-13numbers got to big for show, write my own versionKathy Gray
2014-11-13Catch more cases of registers for extern_regKathy Gray
2014-11-13Set start index on bits in extern_valueKathy Gray
2014-11-12; -> ,Peter Sewell
2014-11-12Add a function to print local variables and values, local_variables_to_stringKathy Gray
will format them as one long ; separated line
2014-11-12Stop overzealously looking for constructors, only when the type suggests toKathy Gray
2014-11-12Notice when a pattern Id is referencing a constructor and either turn the ↵Kathy Gray
pattern into a constructor function call of () for the interpreter (when correct) or raise an error that the identifier is already a constructor that requires parameters.
2014-11-11remove [ and ] from values in the holeKathy Gray
2014-11-10Print contents of the [_] hole when it's available.Kathy Gray
Also correct makefile typo
2014-11-08make pp of Bitvector values of widths 1,2,4, or 8 bytes be in hex (but ↵Peter Sewell
including start bit-index)
2014-11-07Add integer_of_byte_list : list word8 -> integerKathy Gray
2014-11-07stop using LEMLIB in makefile, in case that's interfering with lem library ↵Kathy Gray
placement, switch to LEMLIBOCAML
2014-11-07typoKathy Gray
2014-11-07more num_to_bitsKathy Gray
2014-11-07Put back old num_to_bits temporarily; add in a num_to_bits_correct that ↵Kathy Gray
treats the last argument as a big num
2014-11-07Fix types in num_to_bitsKathy Gray
2014-11-06Refactor printing to display the contents the [_] and to better format bit ↵Kathy Gray
vectors
2014-11-05Correct bug treating unsigned values as signed in arith operationsKathy Gray
2014-11-05Fix bug on decoding ScKathy Gray
2014-11-05add type class instantiations (required as reg_name currently contains big_ints)Peter Sewell
2014-11-05fix(?) a Big_int/int type error wrt trans_sailPeter Sewell
2014-11-04Merge branch 'master' of bitbucket.org:Peter_Sewell/l2Peter Sewell
2014-11-04proposed split of decode into decode-to-instruction and ↵Peter Sewell
instruction-to-instructionstate
2014-11-04Read parts of a register, not always just the whole thingKathy Gray
2014-11-04K,P debuggingPeter Sewell
2014-11-04Fixes bugs:Kathy Gray
not setting starting bit of vector properly not treating properly if when given a non boolean --- bool largely removed in place of bit, removing many/most is_one casts but true and false are still possible values coerces between bit vectors of length one and bits again, because reading from a register can otherwise be wrong with respect to the interface
2014-11-04Fix setting of initial position in a vector after a sliceKathy Gray
2014-11-04Merge branch 'master' of bitbucket.org:Peter_Sewell/l2Peter Sewell
2014-11-04K,P better instruction ppPeter Sewell
2014-11-04setup printing for memory on testsKathy Gray
2014-11-03pp of initial index of bitvectorPeter Sewell
2014-11-03kathy,christopher,peter: talking about bitvectors and sc callsPeter Sewell
2014-11-01extend interfacePeter Sewell
2014-10-31Add a num to bits function; start hooking up the power.ml file to the ↵Kathy Gray
symbol/memory address list.
2014-10-30use proper equality on register name typePeter Sewell
2014-10-30Pull in updated elf model, make build work again (at least for me)Kathy Gray
2014-10-30Merge branch 'master' of bitbucket.org:Peter_Sewell/l2Peter Sewell
2014-10-30more compact pp of binary values (following verilog literal syntax)Peter Sewell
(though we still get some long lists of bitzero,bitzero,... in the instruction state printing...)
2014-10-30Fix type error that Lem didn't catch with the interpreter aloneKathy Gray
2014-10-30harmonise argument orderPeter Sewell
2014-10-30Add parameter to interp_exhaust with type maybe (list (reg_name,value)) for ↵Kathy Gray
registers we might read that we want values for (particularly the PC)
2014-10-30Add case to neg for interp_libKathy Gray
2014-10-29tweak value pp (remove byte count)Peter Sewell
2014-10-28taint tracking unknown in interpreterKathy Gray