Commit graph

115 commits

Author SHA1 Message Date
Yehowshua Immanuel 37cf2b165c remove some unused fields from struct match arms and eliminate warning in main 2022-08-22 10:03:29 -04:00
Yehowshua Immanuel 0acd49f66c correct lengths of u8 LE encoded timestamp being recorded onto byte_len_of_(num/string)_tmstmp_vals_on_tmln 2022-08-22 09:56:22 -04:00
Yehowshua Immanuel 91dc24a9ba Compute num_bytes ahead of time; Start removing undeeded signals from match arms 2022-08-22 09:48:56 -04:00
Yehowshua Immanuel 8dab46a0cb - moved dereferencing alias to VCD impl
- added function to help with reconstructing timestamps and numerical signal values
2022-08-21 19:51:51 -04:00
Yehowshua Immanuel ea6701f104 now parsing single bit 0|1|x|z|u 2022-08-20 02:58:48 -04:00
Yehowshua Immanuel e2c02316af fixed some reference errors 2022-08-19 21:13:29 -04:00
Yehowshua Immanuel 15a2564f13 non trivial re-factor 2022-08-19 20:13:46 -04:00
Yehowshua Immanuel cbd8be1708 - update README to reflect correct performance numbers
- add tasks to README
 - repair bug in events.rs that prevented most events in VCD file from being parsed
 - add some initial code for timeline scrubbing
2022-08-17 22:10:00 -04:00
Yehowshua Immanuel fd31ec1358 notable near 2x speedup in load time, and near 3x reduction in memory consumption 2022-08-11 19:58:21 -04:00
Yehowshua Immanuel def4b26005 now all calls to next_word and curr_word should be macros where possible 2022-08-11 18:33:26 -04:00
Yehowshua Immanuel c53c9684e6 presumably using macros everywhere now 2022-08-11 17:35:40 -04:00
Yehowshua Immanuel 0946d13e6e separated out utilities and started tightening visibility modifiers 2022-08-08 19:45:14 -04:00
Yehowshua Immanuel a7d2b11998 now running much faster, but due for refactor 2022-08-07 18:57:58 -04:00
Yehowshua Immanuel b86e5fd3e4 ordered binary search working - but need to be sped up 2022-08-06 21:40:33 -04:00
Yehowshua Immanuel f1074e4340 1 was the correct depth to traverse 2022-08-04 20:32:01 -04:00
Yehowshua Immanuel 773ac96b0f need name of two function calls up the stack 2022-08-04 14:28:58 -04:00
Yehowshua Immanuel ba9208277b trying to get filename and linenumber 2022-08-04 13:19:52 -04:00
Yehowshua Immanuel fa25bad391 don't use #function in errors 2022-08-04 11:36:26 -04:00
Yehowshua Immanuel 21f0682500 fixed most warnings 2022-08-02 19:31:35 -04:00
Yehowshua Immanuel e931d9a825 refactor parse a bit 2022-08-02 16:40:40 -04:00
Yehowshua Immanuel b685bf8be7 handle case of signal events with bitwidths shorter than nominal signal length 2022-08-02 11:51:07 -04:00
Yehowshua Immanuel e9aa4735dd things seem pretty stable now 2022-08-01 16:52:42 -04:00
Yehowshua Immanuel 232b026f62 things are much faster now, but x/z values not yet supported 2022-08-01 10:11:05 -04:00
Yehowshua Immanuel 0052baf196 add support for mismatching bitdwidths 2022-07-30 19:58:54 -04:00
Yehowshua Immanuel 504913c719 still broken - but I need to save progress 2022-07-27 09:35:44 -04:00
Yehowshua Immanuel 18a69872ab saving progress so far 2022-07-25 21:16:15 -04:00
Yehowshua Immanuel 3658833af3 wow - things are really working 2022-07-20 10:38:56 -04:00
Yehowshua Immanuel d8989d9c76 I broke something 2022-07-19 22:05:00 -04:00
Yehowshua Immanuel 24622c71c2 getting started on parsing timeline events 2022-07-19 13:48:22 -04:00
Yehowshua Immanuel 932250e416 some re-org and cleanup 2022-07-18 12:53:44 -04:00
Yehowshua Immanuel 298bbe1969 able to parse all signal trees 2022-07-15 20:48:02 -04:00
Yehowshua Immanuel 217dea1d41 good stopping point for today 2022-07-14 18:52:12 -04:00
Yehowshua Immanuel 8bcd2bc8ec seems to be able to parse signal tree 2022-07-14 16:46:11 -04:00
Yehowshua Immanuel 49d103fd56 some incomplete changes 2022-07-12 20:02:45 -04:00
Yehowshua Immanuel 29d72b6e9c postpone adding date support for ncsim, quartus, treadle, and vivado 2022-06-24 22:22:55 -04:00
Void User 77235a19bc missed some files by committing in the wrong folder 2022-06-23 20:54:27 -04:00
Void User 8b9114499e a bit of restructuring to support more modular tests 2022-06-23 20:52:39 -04:00
Yehowshua Immanuel dbae68ba3b finish splitting up parse.rs 2022-06-21 21:06:51 -04:00
Yehowshua Immanuel f5bb8d5a7c some re-org 2022-06-19 09:44:57 -04:00
Yehowshua Immanuel 5445891b8d add tests 2022-06-18 01:00:01 -04:00
Yehowshua Immanuel a37c4c0f95 now using ParseResult as parser return type exclusively 2022-06-17 18:16:51 -04:00
Yehowshua Immanuel b25cdaa170 now parsing headers fully 2022-06-12 22:52:24 -04:00
Yehowshua Immanuel e7fb766302 now parsing version 2022-06-12 15:32:00 -04:00
Yehowshua Immanuel 14af6e94e3 now parsing date more robustly 2022-06-11 00:01:53 -04:00
Yehowshua Immanuel 4c7417c729 date parser needs some more work 2022-06-08 21:45:47 -04:00
Yehowshua Immanuel 1c006441fb restructuring and WIP 2022-06-03 21:06:46 -04:00
Yehowshua Immanuel c65bdfefac restructure 1 2022-06-03 12:06:20 -04:00
Yehowshua Immanuel 43563d0d7c nearly as fast as wc and now yield words 2022-06-02 20:02:09 -04:00
Yehowshua Immanuel 08c5058208 now using pointer and string slices 2022-06-02 16:51:56 -04:00
Yehowshua Immanuel c04bf2273e will probably abandon this 2022-05-28 21:37:43 -04:00
Yehowshua Immanuel 46683ae87b now parses timelines 2022-05-27 20:48:17 -04:00
Yehowshua Immanuel cbafc89ab8 shutting down for the night 2022-05-23 23:59:57 -04:00
Yehowshua Immanuel dad1fd2484 notable refactoring and simplification; now able to parse version 2022-05-23 23:45:14 -04:00
Yehowshua Immanuel d22418cf2b cleaner types 2022-05-23 19:19:17 -04:00
Yehowshua Immanuel 2a2eb8669b state machine seems to be working 2022-05-22 23:00:03 -04:00
Yehowshua Immanuel 594f603cbb date now presumably parseable 2022-05-21 20:40:46 -04:00
Yehowshua Immanuel c471c82894 This is starting to go somewhere and needs a re-factor 2022-05-21 15:22:05 -04:00
Yehowshua Immanuel 825b947bad Some changes including:
- modify data structures to support arenas
 - preliminary work on parser
2022-05-20 22:52:26 -04:00
Yehowshua Immanuel 7d1c0e16a8 preliminary parser progress 2022-05-19 03:44:24 -04:00
Yehowshua Immanuel 9c4ddffb42 one day I'll be allowed to yield str refs 2022-05-18 22:58:20 -04:00
Yehowshua Immanuel 0497015783 now we have an iterator - albeit somewhat slow 2022-05-18 22:57:42 -04:00
Yehowshua Immanuel de08a60f17 now yielding one word at a time when parsing VCDs 2022-05-18 21:35:07 -04:00
Yehowshua Immanuel da0bc62102 this loop is too slow - but may be useful for future reference 2022-05-18 20:47:55 -04:00
Yehowshua Immanuel 915e956821 now parsing by space 2022-05-17 22:04:32 -04:00
Yehowshua Immanuel bf4e793ea3 first commit 2022-04-14 00:50:37 -04:00