Miodrag Milanovic
|
50e7221077
|
Add upto and offset to JSON ports
|
2019-06-21 19:47:25 +02:00 |
Clifford Wolf
|
f15def325c
|
Added JSON upto and offset
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-06-21 15:22:17 +02:00 |
Eddie Hung
|
6a336ca23e
|
Fix spacing
|
2019-06-20 22:30:20 -07:00 |
Eddie Hung
|
e21f01d938
|
Refactor bit2aig for less lookups
|
2019-06-20 22:10:43 -07:00 |
Eddie Hung
|
4422b7311b
|
Fix gcc invalidation behaviour for write_aiger
|
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
|
c4ea6fff65
|
Fix gcc invalidation behaviour for write_aiger
|
2019-06-20 21:56:47 -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
|
e612dade12
|
Merge remote-tracking branch 'origin/master' into xaig
|
2019-06-20 19:00:36 -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 |
Ben Widawsky
|
4a18e19fb8
|
Support filename rewrite in backends
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
|
2019-06-18 14:39:52 -07:00 |
Clifford Wolf
|
c23bbc4291
|
Add timescale and generated-by header to yosys-smtbmc MkVcd
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-06-16 23:12:03 +02:00 |
Eddie Hung
|
fb90d8c18c
|
Cleanup
|
2019-06-16 09:34:26 -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
|
914074a07c
|
Update from master
|
2019-05-28 09:35:45 -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
|
73c98f2ae2
|
Merge remote-tracking branch 'origin/master' into xc7mux
|
2019-05-25 20:50:47 -07:00 |
Clifford Wolf
|
6352df42ae
|
Fix handling of offset and upto module ports in write_blif, fixes #1040
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-05-25 17:45:14 +02:00 |
Clifford Wolf
|
b7dd7c2dcd
|
Add proper error message for btor recursion_guard
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-05-24 16:22:34 +02:00 |
Eddie Hung
|
68359bcd6f
|
Merge remote-tracking branch 'origin/eddie/opt_rmdff' into xc7mux
|
2019-05-23 13:37:53 -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
|
fb09c6219b
|
Merge remote-tracking branch 'origin/master' into xc7mux
|
2019-05-21 14:21:00 -07:00 |
Jim Lawson
|
a5131e2896
|
Fix static shift operands, neg result type, minor formatting
Static shift operands must be constants.
The result of FIRRTL's neg operator is signed.
Fix poor indentation for gen_read().
|
2019-05-21 13:04:56 -07:00 |
Clifford Wolf
|
3870e7cf29
|
Merge pull request #991 from kristofferkoch/gcc9-warnings
Fix all warnings that occurred when compiling with gcc9
|
2019-05-08 11:25:22 +02:00 |
Kristoffer Ellersgaard Koch
|
30c762d3a1
|
Fix all warnings that occurred when compiling with gcc9
|
2019-05-08 10:27:14 +02:00 |
Clifford Wolf
|
33738c1745
|
Fix handling of partial init attributes in write_verilog, fixes #997
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-05-07 19:55:36 +02:00 |
Clifford Wolf
|
1cd1b5fc1a
|
Add "real" keyword to ilang format
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-05-06 12:00:40 +02:00 |
Clifford Wolf
|
87426f5a06
|
Improve write_verilog specify support
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-05-04 08:46:24 +02:00 |
Eddie Hung
|
d9c4644e88
|
Merge remote-tracking branch 'origin/master' into clifford/specify
|
2019-05-03 15:05:57 -07:00 |
Eddie Hung
|
5cd19b52da
|
Merge remote-tracking branch 'origin/master' into xc7mux
|
2019-05-02 10:44:59 -07:00 |
Jim Lawson
|
6ea09caf01
|
Re-indent firrtl.cc:struct memory - no functional change.
|
2019-05-01 16:21:13 -07:00 |
Jim Lawson
|
38f5424f92
|
Fix #938 - Crash occurs in case when use write_firrtl command
Add missing memory initialization.
Sanity-check memory parameters.
Add Cell pointer to memory object (for error reporting).
|
2019-05-01 13:16:01 -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 |
Clifford Wolf
|
e807e88b60
|
Rename T_{RISE,FALL}_AVG to T_{RISE,FALL}_TYP to better match verilog std nomenclature
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-23 21:36:59 +02:00 |
Clifford Wolf
|
846eb5ea98
|
Add $specify2/$specify3 support to write_verilog
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-23 21:36:59 +02:00 |
Clifford Wolf
|
0bf9d0087c
|
Add support for $assert/$assume/$cover to write_verilog
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-23 21:36:59 +02: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
|
4883391b63
|
Merge remote-tracking branch 'origin/master' into xaig
|
2019-04-22 11:19:52 -07:00 |
Clifford Wolf
|
0e0c80fac8
|
Add support for zero-width signals to Verilog back-end, fixes #948
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-22 19:44:42 +02:00 |
Eddie Hung
|
caec7f9d2c
|
Merge remote-tracking branch 'origin/master' into xaig
|
2019-04-20 12:23:49 -07:00 |
Clifford Wolf
|
f84a84e3f1
|
Merge pull request #943 from YosysHQ/clifford/whitebox
[WIP] Add "whitebox" attribute, add "read_verilog -wb"
|
2019-04-20 20:51:54 +02:00 |
Eddie Hung
|
76bba49182
|
Fixes for simple_abc9 tests
|
2019-04-19 15:47:36 -07:00 |
Clifford Wolf
|
148caecca3
|
Change "ne" to "neq" in btor2 output
we need to do this because they changed the parser:
e97fc9ceda
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-19 21:17:12 +02: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
|
8f93999129
|
Revert "write_json to not write contents (cells/wires) of whiteboxes"
This reverts commit 4ef03e19a8 .
|
2019-04-18 23:05:59 -07:00 |
Eddie Hung
|
6bdf98d591
|
Add flop support for write_xaiger
|
2019-04-18 17:43:13 -07:00 |
Eddie Hung
|
b531efd6d9
|
Spelling
|
2019-04-18 17:35:16 -07:00 |
Eddie Hung
|
4c327cf316
|
Use new -wb flag for ABC flow
|
2019-04-18 10:32:41 -07:00 |
Eddie Hung
|
4ef03e19a8
|
write_json to not write contents (cells/wires) of whiteboxes
|
2019-04-18 10:32:00 -07:00 |
Eddie Hung
|
79881141e2
|
write_json to not write contents (cells/wires) of whiteboxes
|
2019-04-18 10:30:45 -07:00 |
Eddie Hung
|
8fe0a961b3
|
Merge remote-tracking branch 'origin/clifford/whitebox' into xaig
|
2019-04-18 09:00:06 -07:00 |
Clifford Wolf
|
f4abc21d8a
|
Add "whitebox" attribute, add "read_verilog -wb"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-04-18 17:45:47 +02: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 |
Eddie Hung
|
2b860809e9
|
Stop topological sort at abc_flop_q
|
2019-04-17 12:28:19 -07:00 |
Eddie Hung
|
d59185f1d6
|
Remove init* from xaiger, also topo-sort cells for box flow
|
2019-04-17 11:08:42 -07:00 |