aboutsummaryrefslogtreecommitdiffstats
path: root/src/hls/HTLgen.v
Commit message (Collapse)AuthorAgeFilesLines
* Guard join state with called module finishMichalis Pardalos2021-09-111-3/+4
| | | | | | Needed to match RTL semantics, since the join state executes once before the call is initiated, and we need the destination register to not be affected until after the call has returned.
* Fix error in map_externctrlMichalis Pardalos2021-09-031-1/+1
|
* Get HTLgen compiling with RAM inferenceMichalis Pardalos2021-08-311-9/+9
|
* WIPMichalis Pardalos2021-08-301-11/+0
|
* Merge branch 'oopsla21' into sharing-mergeMichalis Pardalos2021-08-261-24/+53
|\
| * Basically done with proofYann Herklotz2021-04-071-4/+6
| |
| * Finish load and store proof, but broke top-levelYann Herklotz2021-04-061-24/+24
| |
| * Add RAM to HTLYann Herklotz2021-03-021-0/+1
| |
* | Find called module in Icall proofMichalis Pardalos2021-08-191-7/+1
| |
* | Complete HTLspec (mostly)Michalis Pardalos2021-08-121-34/+64
| |
* | Tie clocks in the ApplyExternctrl passMichalis Pardalos2021-08-121-1/+0
| |
* | Correct lookup for called funcs, simplify tr_moduleMichalis Pardalos2021-08-041-8/+24
| |
* | Check whether callee is internal for IcallMichalis Pardalos2021-08-021-19/+24
| |
* | Add "join state is <=Int.max_unsigned" to HTLgenspecMichalis Pardalos2021-06-101-9/+11
| |
* | Move HTL renaming pass to own fileMichalis Pardalos2021-06-061-240/+0
| |
* | Most of Ireturn proofMichalis Pardalos2021-05-161-11/+17
| |
* | Prove a spec for the mapping of function paramsMichalis Pardalos2021-05-061-5/+12
| | | | | | | | | | Extracted the traversal of call args into a function and gave it a spec, so that it can be used to prove the overall spec for the Icall instruction.
* | Define map_incr to clarify st_incrMichalis Pardalos2021-05-051-9/+13
| |
* | Rewrite transf_instr, move complicated part upMichalis Pardalos2021-05-031-6/+6
| | | | | | | | | | Mapping the externctrl for the parameters requires a traversal on a list. Moved it up to the top of the branch to make it stand out in the proof.
* | Add externctrl props to HTLgen's st_propMichalis Pardalos2021-05-031-41/+44
| |
* | Use ltac:() instead of Program in HTLgenMichalis Pardalos2021-05-031-140/+116
| | | | | | | | Program rewrites match statements, making proofs much harder.
* | Use Defined for obligations in Program DefinitionsMichalis Pardalos2021-05-021-12/+12
| | | | | | | | The created terms might need to be inspected.
* | Give a (questionable) translation spec for HTLgenMichalis Pardalos2021-05-021-27/+37
| | | | | | | | | | I am not yet convinced it is the right one, particularly around the way I've used existentials. I will be updating it as I progress with the proof.
* | Fix HTLgen using wrong register in call wait stateMichalis Pardalos2021-05-011-2/+3
| |
* | Tie all modules' clock to mainMichalis Pardalos2021-04-301-6/+6
| |
* | Fix map_externctrl double-incrementing freshregMichalis Pardalos2021-04-301-3/+2
| |
* | Delete unused get_main_clk function from HTLgenMichalis Pardalos2021-04-301-11/+0
| |
* | Map clock correctly in RTL->HTLMichalis Pardalos2021-04-291-15/+9
| | | | | | | | Remove the renumber_clk param of the renumber state
* | Renumber AssocMaps in HTL modules tooMichalis Pardalos2021-04-201-7/+24
| |
* | Move renumbering to be HTL->HTLMichalis Pardalos2021-04-201-0/+213
| |
* | [WIP] Re-implement translation of calls.Michalis Pardalos2021-04-191-33/+67
| | | | | | | | | | Add an explicit map of local HTL registers to control signals and params of other modules, used to implement calls.
* | [WIP] Use Program instead of state_incr lemmasMichalis Pardalos2021-04-181-165/+40
| |
* | [WIP] Generate calling verilog in RTL->HTLMichalis Pardalos2021-04-181-15/+40
| |
* | [WIP] Remove extra statements from HTL.Michalis Pardalos2021-04-181-17/+14
| |
* | Fix merge error in oshrximmMichalis Pardalos2021-04-091-1/+3
| |
* | Add idle state after returnMichalis Pardalos2021-03-011-6/+7
| |
* | Add changes to HTL as they weren't mergedYann Herklotz2021-02-161-53/+122
| |
* | Merge branch 'michalis' of https://github.com/mpardalos/vericert into ↵Yann Herklotz2021-02-161-2/+2
|/ | | | michalis-merge
* Fix imports to remove warnings when compilingYann Herklotz2021-01-221-9/+20
|
* Add correct copyright notices in filesYann Herklotz2021-01-101-0/+1
|
* Change and add back HTLgenYann Herklotz2020-11-091-4/+4
|
* Add RTLBlock intermediate languageYann Herklotz2020-08-301-0/+654