Eddie Hung
|
68717dd03b
|
Do not sigmap keep bits inside write_xaiger
|
2019-11-26 21:57:50 -08:00 |
Eddie Hung
|
7136cee6b4
|
xaiger: do not promote output wires
|
2019-11-26 21:55:37 -08:00 |
Eddie Hung
|
99702efaba
|
xaiger: do not promote output wires
|
2019-11-26 19:03:02 -08:00 |
Eddie Hung
|
da51492dbc
|
Fold loop
|
2019-11-25 15:43:37 -08:00 |
Eddie Hung
|
7f0914a408
|
Do not sigmap keep bits inside write_xaiger
|
2019-11-25 15:42:07 -08:00 |
Eddie Hung
|
81548d1ef9
|
write_xaiger back to working with whole modules only
|
2019-11-22 16:52:17 -08:00 |
Eddie Hung
|
8ef241c6f4
|
Revert "write_xaiger to not use module POs but only write outputs if driven"
This reverts commit 0ab1e496dc .
|
2019-11-22 13:24:28 -08:00 |
Eddie Hung
|
0ab1e496dc
|
write_xaiger to not use module POs but only write outputs if driven
|
2019-11-21 16:19:28 -08:00 |
Eddie Hung
|
929beda19c
|
abc9 to support async flops $_DFF_[NP][NP][01]_
|
2019-11-19 16:57:26 -08:00 |
Eddie Hung
|
b2e34f932a
|
Rename $currQ to $abc9_currQ
|
2019-10-07 15:31:43 -07:00 |
Eddie Hung
|
90a954bb9c
|
Get rid of latch_* in write_xaiger
|
2019-10-07 13:09:13 -07:00 |
Eddie Hung
|
1504ca2cd9
|
Remove "write_xaiger -zinit"
|
2019-10-07 11:58:49 -07:00 |
Eddie Hung
|
e1554b56dd
|
Add comment on default flop init
|
2019-10-07 11:56:17 -07:00 |
Eddie Hung
|
d9fba95177
|
Get rid of output_port lookup
|
2019-10-07 11:49:06 -07:00 |
Eddie Hung
|
3879ca1398
|
Do not require changes to cells_sim.v; try and work out comb model
|
2019-10-05 22:55:18 -07:00 |
Eddie Hung
|
3c6e5d82a6
|
Error if $currQ not found
|
2019-10-05 09:06:13 -07:00 |
Eddie Hung
|
7959e9d6b2
|
Fix merge issues
|
2019-10-04 17:21:14 -07:00 |
Eddie Hung
|
7a45cd5856
|
Merge remote-tracking branch 'origin/eddie/abc_to_abc9' into xaig_dff
|
2019-10-04 16:58:55 -07:00 |
Eddie Hung
|
aae2b9fd9c
|
Rename abc_* names/attributes to more precisely be abc9_*
|
2019-10-04 11:04:10 -07:00 |
Eddie Hung
|
1b96d29174
|
No need to punch ports at all
|
2019-09-30 17:02:20 -07:00 |
Eddie Hung
|
e529872b01
|
Remove need for $currQ port connection
|
2019-09-30 16:33:40 -07:00 |
Eddie Hung
|
eecfdda614
|
Cleanup
|
2019-09-30 15:24:03 -07:00 |
Eddie Hung
|
74678227c7
|
Use a cell_cache to instantiate once rather than opt_merge call
|
2019-09-30 13:21:07 -07:00 |
Eddie Hung
|
a6994c5f16
|
scc call on active module module only, plus cleanup
|
2019-09-30 12:57:19 -07:00 |
Eddie Hung
|
bd8356799a
|
Use derived module
|
2019-09-30 12:34:28 -07:00 |
Eddie Hung
|
1123c09588
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-09-29 19:39:12 -07:00 |
Eddie Hung
|
8474c5b366
|
Merge pull request #1359 from YosysHQ/xc7dsp
DSP inference for Xilinx (improved for ice40, initial support for ecp5)
|
2019-09-29 11:26:22 -07:00 |
Eddie Hung
|
f3e150d9a5
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-09-29 09:21:51 -07:00 |
Eddie Hung
|
79b6edb639
|
Big rework; flop info now mostly in cells_sim.v
|
2019-09-28 23:48:17 -07:00 |
Miodrag Milanovic
|
d0493925ec
|
Support binary files for backends, fixes #1407
|
2019-09-28 09:36:18 +02:00 |
Eddie Hung
|
cfa6dd61ef
|
Use abc_mergeability attr for "r" extension
|
2019-09-27 18:41:43 -07:00 |
Eddie Hung
|
dc154c39a8
|
Fix infinite recursion
|
2019-09-27 17:45:49 -07:00 |
Eddie Hung
|
8f5710c464
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-09-27 15:14:31 -07:00 |
Eddie Hung
|
44374b1b2b
|
"abc_padding" attr for blackbox outputs that were padded, remove them later
|
2019-09-23 21:58:40 -07:00 |
Eddie Hung
|
c340fbfab2
|
Force $inout.out ports to begin with '$' to indicate internal
|
2019-09-23 21:58:04 -07:00 |
Eddie Hung
|
2d9484c12c
|
When two boxes connect to each other, need not be a (* keep *)
|
2019-09-19 15:40:28 -07:00 |
Eddie Hung
|
e9bb252e77
|
Recognise built-in types (e.g. $_DFF_*)
|
2019-08-30 20:15:09 -07:00 |
Eddie Hung
|
3247442bf9
|
Revert "Revert "Fix omode which inserts an output if none exists (otherwise abc9 breaks)""
This reverts commit 8f0c1232d7 .
|
2019-08-28 17:34:00 -07:00 |
Eddie Hung
|
082a01954b
|
Revert "Output "h" extension only if boxes"
This reverts commit 399ac760ff .
|
2019-08-28 17:30:54 -07:00 |
Eddie Hung
|
399ac760ff
|
Output "h" extension only if boxes
|
2019-08-21 11:31:18 -07:00 |
Eddie Hung
|
8f0c1232d7
|
Revert "Fix omode which inserts an output if none exists (otherwise abc9 breaks)"
This reverts commit 8182cb9d91 .
|
2019-08-21 11:29:40 -07:00 |
Eddie Hung
|
8182cb9d91
|
Fix omode which inserts an output if none exists (otherwise abc9 breaks)
|
2019-08-20 21:30:16 -07:00 |
Eddie Hung
|
4d123b7638
|
Revert "Only xaig if GetSize(output_bits) > 0"
This reverts commit 7b646101e9 .
|
2019-08-20 21:22:38 -07:00 |
Eddie Hung
|
7b646101e9
|
Only xaig if GetSize(output_bits) > 0
|
2019-08-20 20:57:13 -07:00 |
Eddie Hung
|
f1a206ba03
|
Revert "Remove sequential extension"
This reverts commit 091bf4a18b .
|
2019-08-20 18:17:14 -07:00 |
Eddie Hung
|
091bf4a18b
|
Remove sequential extension
|
2019-08-20 18:16:37 -07:00 |
Eddie Hung
|
1b5d2de1d4
|
Do not sigmap!
|
2019-08-20 15:23:26 -07:00 |
Eddie Hung
|
c00d72cdb3
|
Minor refactor
|
2019-08-20 14:47:58 -07:00 |
Eddie Hung
|
45d4b33f0c
|
Output i/o/h extensions even if no boxes or flops
|
2019-08-19 13:17:31 -07:00 |
Eddie Hung
|
91687d3fea
|
Add (* abc_arrival *) attribute
|
2019-08-19 12:33:24 -07:00 |
Eddie Hung
|
2f4e0a5388
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-08-19 10:07:27 -07:00 |
Eddie Hung
|
10c69f71e9
|
Use %d
|
2019-08-19 09:16:20 -07:00 |
Eddie Hung
|
24c934f1af
|
Merge branch 'eddie/abc9_refactor' into xaig_dff
|
2019-08-16 16:51:22 -07:00 |
Eddie Hung
|
4fe307f1bc
|
Compute abc_scc_break and move CI/CO outside of each abc9
|
2019-08-16 15:41:17 -07:00 |
Clifford Wolf
|
0c5db07cd6
|
Fix various NDEBUG compiler warnings, closes #1255
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-08-13 13:29:03 +02:00 |
Clifford Wolf
|
f54bf1631f
|
Merge pull request #1258 from YosysHQ/eddie/cleanup
Cleanup a few barnacles across codebase
|
2019-08-10 09:52:14 +02:00 |
Eddie Hung
|
3090da2d98
|
Run "clean -purge" on holes_module in its own design
|
2019-08-07 09:54:27 -07:00 |
Eddie Hung
|
a6bc9265fb
|
RTLIL::S{0,1} -> State::S{0,1}
|
2019-08-06 16:23:37 -07:00 |
Clifford Wolf
|
0917a5cf72
|
Merge pull request #1238 from mmicko/vsbuild_fix
Visual Studio build fix
|
2019-08-02 17:07:39 +02:00 |
Miodrag Milanovic
|
28b7053a01
|
Fix formatting for msys2 mingw build using GetSize
|
2019-08-01 17:27:34 +02:00 |
Miodrag Milanovic
|
35d28de478
|
Visual Studio build fix
|
2019-07-31 09:10:24 +02:00 |
Eddie Hung
|
375fcbe511
|
abc_flop to also get topologically sorted
|
2019-07-10 20:26:09 -07:00 |
Eddie Hung
|
ea6ffea2cd
|
Fix clk_pol for FD*_1
|
2019-07-10 20:10:20 -07:00 |
Eddie Hung
|
e603d719d6
|
Fix spacing
|
2019-07-10 19:04:22 -07:00 |
Eddie Hung
|
4a995c5d80
|
Change how to specify flops to ABC again
|
2019-07-10 17:54:56 -07:00 |
Eddie Hung
|
a092c48f03
|
Use split_tokens()
|
2019-07-10 17:34:51 -07:00 |
Eddie Hung
|
052060f109
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-07-10 16:05:41 -07:00 |
Eddie Hung
|
5a0f2e43c7
|
Rename __builtin_bswap32 -> bswap32
|
2019-07-09 09:35:09 -07:00 |
Eddie Hung
|
10524064e9
|
write_xaiger to treat unknown cell connections as keep-s
|
2019-07-02 19:14:30 -07:00 |
Eddie Hung
|
69f4c039ce
|
Safe side: all flops have different mergeability class
|
2019-07-02 12:21:03 -07:00 |
Eddie Hung
|
a31e17182d
|
Refactor and cope with new abc_flop format
|
2019-07-01 11:50:34 -07:00 |
Eddie Hung
|
699d8e3939
|
Merge remote-tracking branch 'origin/master' into xaig_dff
|
2019-07-01 10:44:42 -07:00 |
Eddie Hung
|
38d8806bd7
|
Add generic __builtin_bswap32 function
|
2019-06-28 09:59:47 -07:00 |
Eddie Hung
|
36e2eb06bb
|
Fix more potential for undefined behaviour due to container invalidation
|
2019-06-28 09:51:43 -07:00 |
Eddie Hung
|
9398921af1
|
Refactor for one "abc_carry" attribute on module
|
2019-06-27 16:07:14 -07:00 |
Eddie Hung
|
080a5ca536
|
Improve debugging message for comb loops
|
2019-06-26 20:02:38 -07:00 |
Eddie Hung
|
7903ebe3e0
|
Carry in/out box ordering now move to end, not swap with end
|
2019-06-22 14:18:42 -07:00 |
Eddie Hung
|
fddb027cab
|
Replace assert with error message
|
2019-06-21 17:18:04 -07:00 |
Eddie Hung
|
7074ec9cd5
|
Add log_push()/log_pop() inside write_xaiger
|
2019-06-21 17:17:29 -07:00 |
Eddie Hung
|
65c1199acd
|
One more workaround for gcc-4.8
|
2019-06-21 14:36:24 -07:00 |
Eddie Hung
|
bd7ec673dd
|
No point logging constant bit
|
2019-06-21 14:31:09 -07:00 |
Eddie Hung
|
70c93ea0c4
|
Move comment
|
2019-06-21 14:31:09 -07:00 |
Eddie Hung
|
e21f01d938
|
Refactor bit2aig for less lookups
|
2019-06-20 22:10:43 -07:00 |
Eddie Hung
|
32f8014e12
|
Fix gcc error, due to dict invalidation during recursion
|
2019-06-20 22:10:43 -07:00 |
Eddie Hung
|
8e56cfb6bb
|
write_xaiger to flatten 1'bx/1'bz to 1'b0 again
|
2019-06-20 19:41:27 -07:00 |
Eddie Hung
|
ad36eb24c0
|
Fix different abc9 test
|
2019-06-20 19:41:27 -07:00 |
Eddie Hung
|
9faeba7a66
|
Fix broken abc9.v test due to inout being 1'bx
|
2019-06-20 19:41:27 -07:00 |
Eddie Hung
|
4e5836a5fb
|
Handle COs driven by 1'bx
|
2019-06-20 17:38:04 -07:00 |
Eddie Hung
|
f2d541962e
|
write_xaiger to skip POs driven by 1'bx
|
2019-06-20 17:37:54 -07:00 |
Eddie Hung
|
0c59bc0b75
|
Cleanup
|
2019-06-16 10:42:00 -07:00 |
Eddie Hung
|
fb90d8c18c
|
Cleanup
|
2019-06-16 09:34:26 -07:00 |
Eddie Hung
|
6852c83bbe
|
Cleanup write_xaiger
|
2019-06-15 22:50:15 -07:00 |
Eddie Hung
|
bd2690e9b9
|
Preserve init of flops, and write into XAIG
|
2019-06-15 22:41:13 -07:00 |
Eddie Hung
|
2309459605
|
Do not treat $__ABC_FF_ as a user cell
|
2019-06-15 19:36:55 -07:00 |
Eddie Hung
|
0debea25a7
|
Update comment
|
2019-06-15 18:24:04 -07:00 |
Eddie Hung
|
c2f3f116d0
|
Use $__ABC_FF_ instead of $_FF_
|
2019-06-15 18:16:14 -07:00 |
Eddie Hung
|
6d74b3e004
|
Update comment
|
2019-06-15 09:36:02 -07:00 |
Eddie Hung
|
357d36ef4f
|
write_xaiger to treat abc_flop boxes as boxff for ABC
|
2019-06-15 09:07:03 -07:00 |
Eddie Hung
|
7ff8330d1e
|
Leave breadcrumb behind
|
2019-06-14 13:34:40 -07:00 |
Eddie Hung
|
46e69ee934
|
Remove redundant condition
|
2019-06-14 13:31:18 -07:00 |
Eddie Hung
|
9b55e69755
|
Revert "Cleanup/optimise toposort in write_xaiger"
This reverts commit 1948e7c846 .
Restores old toposort with optimisations
|
2019-06-14 13:29:36 -07:00 |
Eddie Hung
|
746f70a9ce
|
Update comment
|
2019-06-14 13:10:46 -07:00 |
Eddie Hung
|
0fa6a441f1
|
Check that whiteboxes are synthesisable
|
2019-06-14 13:08:38 -07:00 |
Eddie Hung
|
2d85725604
|
Get rid of compiler warnings
|
2019-06-14 13:07:56 -07:00 |
Eddie Hung
|
7876b5b8be
|
Cover __APPLE__ too for little to big endian
|
2019-06-14 12:40:51 -07:00 |
Eddie Hung
|
a48b5bfaa5
|
Further cleanup based on @daveshah1
|
2019-06-14 12:25:06 -07:00 |
Eddie Hung
|
97d2656375
|
Resolve comments from @daveshah1
|
2019-06-14 12:00:02 -07:00 |
Eddie Hung
|
ee428f73ab
|
Remove WIP ABC9 flop support
|
2019-06-14 10:37:52 -07:00 |
Eddie Hung
|
1656c44373
|
Cleanup
|
2019-06-14 10:29:27 -07:00 |
Eddie Hung
|
751e640c1d
|
Merge branch 'xaig' of github.com:YosysHQ/yosys into xaig
|
2019-06-14 10:29:16 -07:00 |
Eddie Hung
|
1948e7c846
|
Cleanup/optimise toposort in write_xaiger
|
2019-06-14 10:13:17 -07:00 |
David Shah
|
9566573054
|
ecp5: Add abc9 option
Signed-off-by: David Shah <dave@ds0.me>
|
2019-06-14 17:15:02 +01:00 |
Eddie Hung
|
8374eb1cb4
|
Remove unnecessary undriven_bits.insert
|
2019-06-12 15:55:02 -07:00 |
Eddie Hung
|
fb2758aade
|
write_xaiger to preserve POs even if driven by constant
|
2019-06-12 15:44:30 -07:00 |
Eddie Hung
|
2e7b3eee40
|
Add a couple more tests
|
2019-06-12 15:43:43 -07:00 |
Eddie Hung
|
14e870d4c4
|
More write_xaiger cleanup
|
2019-06-12 10:00:57 -07:00 |
Eddie Hung
|
4be417f6e1
|
Cleanup write_xaiger
|
2019-06-12 09:53:14 -07:00 |
Eddie Hung
|
b21d29598a
|
Consistency
|
2019-06-12 09:40:51 -07:00 |
Eddie Hung
|
7b186740d3
|
Add log_assert to ensure no loops
|
2019-06-04 12:01:25 -07:00 |
Eddie Hung
|
1b836c93bb
|
Only toposort builtin and abc types
|
2019-06-04 11:56:58 -07:00 |
Eddie Hung
|
257f7ff5f6
|
When creating new holes cell, inherit parameters too
|
2019-06-03 12:30:54 -07:00 |
Eddie Hung
|
4623177655
|
ABC9 to understand flops
|
2019-05-31 15:23:33 -07:00 |
Eddie Hung
|
eb08e71bd1
|
Merge branch 'xaig' into xc7mux
|
2019-05-31 13:03:03 -07:00 |
Eddie Hung
|
887c31f33b
|
Fix issue where keep signal became PI, but also box was adding CI driver
|
2019-05-30 16:03:22 -07:00 |
Eddie Hung
|
e3c8132d7a
|
Do not re-sort box_module ports
|
2019-05-30 12:26:51 -07:00 |
Eddie Hung
|
fdfc18be91
|
Carry in/out to be the last input/output for chains to be preserved
|
2019-05-30 01:23:36 -07:00 |
Eddie Hung
|
1423384367
|
Fix abc_test024
|
2019-05-29 15:24:09 -07:00 |
Eddie Hung
|
b4321a31bb
|
Fix for abc9_test022
|
2019-05-28 12:42:17 -07:00 |
Eddie Hung
|
13e233217c
|
Small improvement
|
2019-05-28 11:29:59 -07:00 |
Eddie Hung
|
3f60061615
|
Map file to include boxes not CI/CO
|
2019-05-27 23:10:59 -07:00 |
Eddie Hung
|
234156c01a
|
Instantiate cell type (from sym file) otherwise 'clean' warnings
|
2019-05-27 12:16:10 -07:00 |
Eddie Hung
|
03b289a851
|
Add 'cinput' and 'coutput' to symbols file for boxes
|
2019-05-27 11:38:52 -07:00 |
Eddie Hung
|
3c8368454f
|
Fix "a" connectivity
|
2019-05-26 14:14:13 -07:00 |
Eddie Hung
|
67f7c64a77
|
Fix padding, remove CIs from undriven_bits before erasing undriven POs
|
2019-05-26 11:26:38 -07:00 |
Eddie Hung
|
32a4c10c0d
|
Fix "a" extension
|
2019-05-26 02:44:36 -07:00 |
Eddie Hung
|
01684643b6
|
Fix "write_xaiger", and to write each box contents into holes
|
2019-05-25 22:34:50 -07:00 |
Eddie Hung
|
0f094fba08
|
Pad all boxes so that all input/output connections specified
|
2019-05-21 16:19:23 -07:00 |
Eddie Hung
|
eec314e262
|
Remove topo sort no-loop assertion, with test
|
2019-04-24 21:06:53 -07:00 |
Eddie Hung
|
ac2aff9e28
|
Fix abc9 with (* keep *) wires
|
2019-04-23 16:11:39 -07:00 |
Eddie Hung
|
bfd71e0990
|
Fix abc9 with (* keep *) wires
|
2019-04-23 16:11:14 -07:00 |
Eddie Hung
|
8f30019b68
|
Revert "Temporarily remove 'r' extension"
This reverts commit eaf3c24772 .
|
2019-04-22 17:41:21 -07:00 |
Eddie Hung
|
eaf3c24772
|
Temporarily remove 'r' extension
|
2019-04-22 11:54:19 -07:00 |
Eddie Hung
|
b780c0a7de
|
Allow POs to be PIs in XAIG
|
2019-04-22 11:22:29 -07:00 |
Eddie Hung
|
76bba49182
|
Fixes for simple_abc9 tests
|
2019-04-19 15:47:36 -07:00 |
Eddie Hung
|
35f44f3ae8
|
Do not assume inst_module is always present
|
2019-04-19 08:44:53 -07:00 |
Eddie Hung
|
3544a7cd7b
|
ignore_boxes -> holes_mode
|
2019-04-19 08:37:10 -07:00 |
Eddie Hung
|
6bdf98d591
|
Add flop support for write_xaiger
|
2019-04-18 17:43:13 -07:00 |
Eddie Hung
|
4c327cf316
|
Use new -wb flag for ABC flow
|
2019-04-18 10:32:41 -07:00 |
Eddie Hung
|
23cd2e5de0
|
Fix $anyseq warning and cleanup
|
2019-04-17 16:03:29 -07:00 |
Eddie Hung
|
1ec5f18346
|
Cope with inout ports
|
2019-04-17 14:43:45 -07:00 |