Commit Graph

34 Commits

Author SHA1 Message Date
Brian Taylor 0da3f3504d Remove dead code. 2023-02-04 16:33:39 -08:00
Brian Taylor dcafbbcf90 Add port directions when logicexp or pindly are present. 2023-01-30 14:41:49 -08:00
Brian Taylor c72781584a ERROR messages should be printed to stderr. 2023-01-09 12:23:38 -08:00
Brian Taylor 7af21d1f5f Fix some comments. 2023-01-03 09:38:57 -08:00
Brian Taylor f137cc0c5c Ensure that amatch output is not binary data. 2022-12-27 20:48:53 -08:00
Brian Taylor d35491fa8f Return errors from f_logicexp and f_pindly without calling exit. 2022-12-26 21:47:38 -08:00
Brian Taylor a340515e77 Add more error checks for f_logicexp and f_pindly. 2022-12-24 12:27:57 -08:00
Brian Taylor 7581ed554e Remove the old inverter code. 2022-12-20 10:43:15 -08:00
Brian Taylor 5f94c556fd Refactor new_gen_output_models. 2022-12-19 13:10:32 -08:00
Brian Taylor 8e7c23d89e Added xor/xnor for logicexp timing models. 2022-11-28 08:15:34 -08:00
Brian Taylor e5bf2db785 Handle cases where logicexp has a timing model but no pindly. This is rare, only 22 tests from the digital libraries. Move digital examples, add missing .spiceint file. 2022-11-26 09:40:35 -08:00
Brian Taylor 96a9726b19 Add more debug instrumentation. 2022-11-15 14:59:58 -08:00
Brian Taylor 84833ccc97 Use tilde '~' inputs instead of creating inverters. 2022-11-12 22:53:49 -08:00
Brian Taylor 8165f35953 Add safety braces. 2022-11-09 14:41:27 -08:00
Brian Taylor 69c1f9605c Tidy up debug tracing code. 2022-11-09 13:26:44 -08:00
Brian Taylor 5765f30d8d Fix memory leaks. 2022-11-08 19:28:23 -08:00
Brian Taylor 5d5b62685c Add more vectors to behavioral 283 circuit. Add tristate buffer circuit which shows glitches until inertial delays are implemented. 2022-11-08 12:09:13 -08:00
Brian Taylor 4a4dee88af When the gen_tab has only one entry, do not call optimize_gen_tab, it is not necessary. 2022-11-08 04:42:04 -08:00
Brian Taylor 5cecd039f6 Check that the bparse gen_tab optimization loop finishes when no more improvements occur. 2022-11-07 13:47:45 -08:00
Brian Taylor 11cda1cdfe Remove asserts, replace fixed size lexer_buf. 2022-11-06 10:09:04 -08:00
Brian Taylor 0b466bd115 Add pindly tristate example. Cleanup error handling. 2022-11-03 09:36:56 -07:00
Brian Taylor 6295cba81c Remove most asserts. 2022-11-02 10:59:25 -07:00
Brian Taylor 5c68f4c02c Add behavioral (LOGICEXP, PINDLY) test for 283 circuit. There are glitches in the simulation for some of the s* outputs. Probably due to not having inertial delays. And why not set 'zero' delays as close to zero as permitted by XSPICE. 2022-11-01 11:29:43 -07:00
Brian Taylor 9ca9b48af4 Reduce the delays of 'zero' delay gates to 1.0e-11. Add decoder test for logicexpr and pindly. 2022-10-31 17:44:07 -07:00
Brian Taylor f8834a06a3 Fix a typo, add more comments. 2022-10-30 13:03:56 -07:00
Brian Taylor 0e7226c824 Add support for TRISTATE: in PINDLY. 2022-10-29 16:33:58 -07:00
Brian Taylor 7c1bc4c897 Fix potential memory leak, clean out debug code. 2022-10-26 23:27:06 -07:00
Brian Taylor a3419821df Better estimates of rise/fall delays in PINDLYs with outputs separated by CASE. 2022-10-26 19:31:06 -07:00
Brian Taylor 07da7d07d0 Fix visualc compiler warnings. 2022-10-25 10:59:00 -07:00
Brian Taylor d19199009a Improve delay estimates for pindly output buffers. 2022-10-24 15:37:24 -07:00
Brian Taylor 364c123aa8 Initial handling of PINDLY. Output buffers without rise/fall delay estimates. 2022-10-23 17:04:37 -07:00
Brian Taylor 9f740ea88a Move f_logicexp, f_pindly calls to u_process_instance. Use u_add_instance to copy gate instances and models to the replacement cards. 2022-10-21 22:14:41 -07:00
Brian Taylor fd3c576058 Fix potential memory leak. 2022-10-21 15:49:12 -07:00
Brian Taylor 4f128bb529 Initial logicexp parser and gate generator. 2022-10-21 15:21:18 -07:00