yosys.git
6 years agoFix `ifndef
Eddie Hung [Mon, 3 Jun 2019 19:37:02 +0000 (12:37 -0700)]
Fix `ifndef

6 years agoMake SB_LUT4 a whitebox, SB_DFF a blackbox (for now)
Eddie Hung [Mon, 3 Jun 2019 19:34:55 +0000 (12:34 -0700)]
Make SB_LUT4 a whitebox, SB_DFF a blackbox (for now)

6 years agoAssert that box_unique_id is indeed unique
Eddie Hung [Mon, 3 Jun 2019 19:33:47 +0000 (12:33 -0700)]
Assert that box_unique_id is indeed unique

6 years agoRemove dupe
Eddie Hung [Mon, 3 Jun 2019 19:32:20 +0000 (12:32 -0700)]
Remove dupe

6 years agoSkip internal modules when generating box_unique_id
Eddie Hung [Mon, 3 Jun 2019 19:31:23 +0000 (12:31 -0700)]
Skip internal modules when generating box_unique_id

6 years agoWhen creating new holes cell, inherit parameters too
Eddie Hung [Mon, 3 Jun 2019 19:30:54 +0000 (12:30 -0700)]
When creating new holes cell, inherit parameters too

6 years agoOoopsie
Eddie Hung [Mon, 3 Jun 2019 16:33:42 +0000 (09:33 -0700)]
Ooopsie

6 years agoConsistent with xilinx
Eddie Hung [Mon, 3 Jun 2019 16:23:43 +0000 (09:23 -0700)]
Consistent with xilinx

6 years agoAdd flops as blackboxes
Eddie Hung [Sat, 1 Jun 2019 01:11:46 +0000 (18:11 -0700)]
Add flops as blackboxes

6 years agoAdd FD*E_1 -> FD*E techmap rules
Eddie Hung [Sat, 1 Jun 2019 01:11:24 +0000 (18:11 -0700)]
Add FD*E_1 -> FD*E techmap rules

6 years agoTechmap flops before ABC again
Eddie Hung [Sat, 1 Jun 2019 01:10:25 +0000 (18:10 -0700)]
Techmap flops before ABC again

6 years agoparse_xaiger to cope with flops
Eddie Hung [Sat, 1 Jun 2019 01:06:36 +0000 (18:06 -0700)]
parse_xaiger to cope with flops

6 years agoABC9 to understand flops
Eddie Hung [Fri, 31 May 2019 22:23:33 +0000 (15:23 -0700)]
ABC9 to understand flops

6 years agoMerge branch 'xaig' into xc7mux
Eddie Hung [Fri, 31 May 2019 20:03:03 +0000 (13:03 -0700)]
Merge branch 'xaig' into xc7mux

6 years agoThrow out unused code inherited from abc
Eddie Hung [Fri, 31 May 2019 19:50:11 +0000 (12:50 -0700)]
Throw out unused code inherited from abc

6 years agoFix issue where keep signal became PI, but also box was adding CI driver
Eddie Hung [Thu, 30 May 2019 23:03:22 +0000 (16:03 -0700)]
Fix issue where keep signal became PI, but also box was adding CI driver

6 years agoread_xaiger() to name box signals
Eddie Hung [Thu, 30 May 2019 23:02:40 +0000 (16:02 -0700)]
read_xaiger() to name box signals

6 years agoFix spelling
Eddie Hung [Thu, 30 May 2019 22:50:47 +0000 (15:50 -0700)]
Fix spelling

6 years agoRemove whitebox attribute from DRAMs for now
Eddie Hung [Thu, 30 May 2019 20:07:29 +0000 (13:07 -0700)]
Remove whitebox attribute from DRAMs for now

6 years agoDo not re-sort box_module ports
Eddie Hung [Thu, 30 May 2019 19:26:51 +0000 (12:26 -0700)]
Do not re-sort box_module ports

6 years agoRemove whitespace
Eddie Hung [Thu, 30 May 2019 19:25:21 +0000 (12:25 -0700)]
Remove whitespace

6 years agoRevert "Re-enable &dc2"
Eddie Hung [Thu, 30 May 2019 18:41:50 +0000 (11:41 -0700)]
Revert "Re-enable &dc2"

This reverts commit 8c58c728a79954603289abf3520139da0a9bbb26.

6 years agoDo not double count LUT1s
Eddie Hung [Thu, 30 May 2019 18:32:14 +0000 (11:32 -0700)]
Do not double count LUT1s

6 years agoCarry in/out to be the last input/output for chains to be preserved
Eddie Hung [Thu, 30 May 2019 08:23:36 +0000 (01:23 -0700)]
Carry in/out to be the last input/output for chains to be preserved

6 years agoRe-enable &dc2
Eddie Hung [Thu, 30 May 2019 07:42:41 +0000 (00:42 -0700)]
Re-enable &dc2

6 years agoReduce -W to 160
Eddie Hung [Thu, 30 May 2019 06:01:46 +0000 (23:01 -0700)]
Reduce -W to 160

6 years agoSome more realistic delays...
Eddie Hung [Thu, 30 May 2019 05:55:34 +0000 (22:55 -0700)]
Some more realistic delays...

6 years agoErase all boxes before stitching
Eddie Hung [Thu, 30 May 2019 02:17:36 +0000 (19:17 -0700)]
Erase all boxes before stitching

6 years agoCall &if with -W 250
Eddie Hung [Wed, 29 May 2019 23:34:52 +0000 (16:34 -0700)]
Call &if with -W 250

6 years agoBump ABC
Eddie Hung [Wed, 29 May 2019 23:34:43 +0000 (16:34 -0700)]
Bump ABC

6 years agoRename to #23
Eddie Hung [Wed, 29 May 2019 22:26:33 +0000 (15:26 -0700)]
Rename to #23

6 years agoAdd abc_test024
Eddie Hung [Wed, 29 May 2019 22:24:38 +0000 (15:24 -0700)]
Add abc_test024

6 years agoFix abc_test024
Eddie Hung [Wed, 29 May 2019 22:24:09 +0000 (15:24 -0700)]
Fix abc_test024

6 years agoAdd some debug to abc9
Eddie Hung [Wed, 29 May 2019 22:21:41 +0000 (15:21 -0700)]
Add some debug to abc9

6 years agoAdd abc9_test022
Eddie Hung [Tue, 28 May 2019 19:43:07 +0000 (12:43 -0700)]
Add abc9_test022

6 years agoFix for abc9_test022
Eddie Hung [Tue, 28 May 2019 19:42:17 +0000 (12:42 -0700)]
Fix for abc9_test022

6 years agoSmall improvement
Eddie Hung [Tue, 28 May 2019 18:29:59 +0000 (11:29 -0700)]
Small improvement

6 years agoFrom master
Eddie Hung [Tue, 28 May 2019 16:38:58 +0000 (09:38 -0700)]
From master

6 years agoFrom master
Eddie Hung [Tue, 28 May 2019 16:37:50 +0000 (09:37 -0700)]
From master

6 years agoTypo
Eddie Hung [Tue, 28 May 2019 16:36:01 +0000 (09:36 -0700)]
Typo

6 years agoUpdate from master
Eddie Hung [Tue, 28 May 2019 16:35:45 +0000 (09:35 -0700)]
Update from master

6 years agoUpdate README.md from master
Eddie Hung [Tue, 28 May 2019 16:32:18 +0000 (09:32 -0700)]
Update README.md from master

6 years agoMerge remote-tracking branch 'origin/master' into xc7mux
Eddie Hung [Tue, 28 May 2019 16:30:53 +0000 (09:30 -0700)]
Merge remote-tracking branch 'origin/master' into xc7mux

6 years agoread_aiger to only clean own design
Eddie Hung [Tue, 28 May 2019 15:45:10 +0000 (08:45 -0700)]
read_aiger to only clean own design

6 years agoMisspell
Eddie Hung [Tue, 28 May 2019 15:44:59 +0000 (08:44 -0700)]
Misspell

6 years agoMerge pull request #1050 from YosysHQ/clifford/wandwor
Clifford Wolf [Tue, 28 May 2019 15:42:16 +0000 (17:42 +0200)]
Merge pull request #1050 from YosysHQ/clifford/wandwor

Refactored wand/wor support

6 years agoMerge pull request #1048 from mmicko/fix_enable_pyosys
Clifford Wolf [Tue, 28 May 2019 14:52:40 +0000 (16:52 +0200)]
Merge pull request #1048 from mmicko/fix_enable_pyosys

Moved pyosys block in Makefile

6 years agoRefactor hierarchy wand/wor handling
Clifford Wolf [Tue, 28 May 2019 14:43:25 +0000 (16:43 +0200)]
Refactor hierarchy wand/wor handling

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdd actual wandwor test that is part of "make test"
Clifford Wolf [Tue, 28 May 2019 14:42:50 +0000 (16:42 +0200)]
Add actual wandwor test that is part of "make test"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge branch 'wandwor' of https://github.com/thasti/yosys into clifford/wandwor
Clifford Wolf [Tue, 28 May 2019 13:45:15 +0000 (15:45 +0200)]
Merge branch 'wandwor' of https://github.com/thasti/yosys into clifford/wandwor

6 years agoRemove info line in 2nd load of conf file
Miodrag Milanovic [Tue, 28 May 2019 13:43:27 +0000 (15:43 +0200)]
Remove info line in 2nd load of conf file

6 years agoMoved pyosys block in Makefile
Miodrag Milanovic [Tue, 28 May 2019 12:53:07 +0000 (14:53 +0200)]
Moved pyosys block in Makefile

6 years agoMerge pull request #1045 from mmicko/afl-gcc-target
Clifford Wolf [Tue, 28 May 2019 12:00:28 +0000 (14:00 +0200)]
Merge pull request #1045 from mmicko/afl-gcc-target

afl-fuzzer compile config

6 years agoIf driver not found, use LUT2
Eddie Hung [Tue, 28 May 2019 06:12:21 +0000 (23:12 -0700)]
If driver not found, use LUT2

6 years agoParse "a" extension and boxes from map file
Eddie Hung [Tue, 28 May 2019 06:11:21 +0000 (23:11 -0700)]
Parse "a" extension and boxes from map file

6 years agoMap file to include boxes not CI/CO
Eddie Hung [Tue, 28 May 2019 06:10:59 +0000 (23:10 -0700)]
Map file to include boxes not CI/CO

6 years agoMake MUXF{7,8} and CARRY4 whitebox
Eddie Hung [Tue, 28 May 2019 06:09:06 +0000 (23:09 -0700)]
Make MUXF{7,8} and CARRY4 whitebox

6 years agoRe-enable lib_whitebox
Eddie Hung [Tue, 28 May 2019 06:08:55 +0000 (23:08 -0700)]
Re-enable lib_whitebox

6 years agoDisconnect all ABC boxes too
Eddie Hung [Tue, 28 May 2019 02:40:27 +0000 (19:40 -0700)]
Disconnect all ABC boxes too

6 years agoRemove unused function
Eddie Hung [Mon, 27 May 2019 20:49:42 +0000 (13:49 -0700)]
Remove unused function

6 years agoparse_xaiger to not parse symbol table
Eddie Hung [Mon, 27 May 2019 19:34:17 +0000 (12:34 -0700)]
parse_xaiger to not parse symbol table

6 years agoParse without wideports
Eddie Hung [Mon, 27 May 2019 19:22:05 +0000 (12:22 -0700)]
Parse without wideports

6 years agoRemove mapped_mod when done
Eddie Hung [Mon, 27 May 2019 19:19:21 +0000 (12:19 -0700)]
Remove mapped_mod when done

6 years agoInstantiate cell type (from sym file) otherwise 'clean' warnings
Eddie Hung [Mon, 27 May 2019 19:16:10 +0000 (12:16 -0700)]
Instantiate cell type (from sym file) otherwise 'clean' warnings

6 years agomake config-afl-gcc to help creating conf file
Miodrag Milanovic [Mon, 27 May 2019 18:43:10 +0000 (20:43 +0200)]
make config-afl-gcc to help creating conf file

6 years agoAdd 'cinput' and 'coutput' to symbols file for boxes
Eddie Hung [Mon, 27 May 2019 18:38:52 +0000 (11:38 -0700)]
Add 'cinput' and 'coutput' to symbols file for boxes

6 years agoAdded afl-gcc as target for fuzzer
Miodrag Milanovic [Mon, 27 May 2019 18:38:44 +0000 (20:38 +0200)]
Added afl-gcc as target for fuzzer

6 years agoMerge branch 'master' into wandwor
Stefan Biereigel [Mon, 27 May 2019 17:07:46 +0000 (19:07 +0200)]
Merge branch 'master' into wandwor

6 years agoreformat wand/wor test
Stefan Biereigel [Mon, 27 May 2019 16:45:54 +0000 (18:45 +0200)]
reformat wand/wor test

6 years agoremove port direction workaround from test case
Stefan Biereigel [Mon, 27 May 2019 16:10:39 +0000 (18:10 +0200)]
remove port direction workaround from test case

6 years agoupdate README.md with wand/wor information
Stefan Biereigel [Mon, 27 May 2019 16:07:12 +0000 (18:07 +0200)]
update README.md with wand/wor information

6 years agoremove leftovers from ast data structures
Stefan Biereigel [Mon, 27 May 2019 16:01:44 +0000 (18:01 +0200)]
remove leftovers from ast data structures

6 years agomove wand/wor resolution into hierarchy pass
Stefan Biereigel [Mon, 27 May 2019 16:00:22 +0000 (18:00 +0200)]
move wand/wor resolution into hierarchy pass

6 years agoMerge pull request #1044 from mmicko/invalid_width_range
Clifford Wolf [Mon, 27 May 2019 11:26:12 +0000 (13:26 +0200)]
Merge pull request #1044 from mmicko/invalid_width_range

Give error instead of asserting for invalid range, fixes #947

6 years agoMerge pull request #1043 from mmicko/unsized_constant
Clifford Wolf [Mon, 27 May 2019 11:25:52 +0000 (13:25 +0200)]
Merge pull request #1043 from mmicko/unsized_constant

Added support for unsized constants, fixes #1022

6 years agoMerge pull request #1026 from YosysHQ/clifford/fix1023
Clifford Wolf [Mon, 27 May 2019 11:24:19 +0000 (13:24 +0200)]
Merge pull request #1026 from YosysHQ/clifford/fix1023

 Keep zero-width wires in opt_clean if and only if they are ports

6 years agoMerge pull request #1030 from Kmanfi/makefile_osx
Clifford Wolf [Mon, 27 May 2019 11:22:51 +0000 (13:22 +0200)]
Merge pull request #1030 from Kmanfi/makefile_osx

OS X related Makefile fixes.

6 years agoGive error instead of asserting for invalid range, fixes #947
Miodrag Milanovic [Mon, 27 May 2019 10:25:18 +0000 (12:25 +0200)]
Give error instead of asserting for invalid range, fixes #947

6 years agoAdded support for unsized constants, fixes #1022
Miodrag Milanovic [Mon, 27 May 2019 09:42:10 +0000 (11:42 +0200)]
Added support for unsized constants, fixes #1022
Includes work from @sumit0190 and @AaronKel

6 years agoGuard all Python-api related items.
Kaj Tuomi [Mon, 27 May 2019 08:31:50 +0000 (11:31 +0300)]
Guard all Python-api related items.

6 years agoFix "a" connectivity
Eddie Hung [Sun, 26 May 2019 21:14:13 +0000 (14:14 -0700)]
Fix "a" connectivity

6 years agoBlackboxes
Eddie Hung [Sun, 26 May 2019 18:32:02 +0000 (11:32 -0700)]
Blackboxes

6 years agoABC9 to call &sweep
Eddie Hung [Sun, 26 May 2019 18:31:35 +0000 (11:31 -0700)]
ABC9 to call &sweep

6 years agoFix padding, remove CIs from undriven_bits before erasing undriven POs
Eddie Hung [Sun, 26 May 2019 18:26:38 +0000 (11:26 -0700)]
Fix padding, remove CIs from undriven_bits before erasing undriven POs

6 years agoTypo
Eddie Hung [Sun, 26 May 2019 10:17:20 +0000 (03:17 -0700)]
Typo

6 years agoMuck about with LUT delays some more
Eddie Hung [Sun, 26 May 2019 09:52:48 +0000 (02:52 -0700)]
Muck about with LUT delays some more

6 years agoCombine ABC_COMMAND_LUT
Eddie Hung [Sun, 26 May 2019 09:47:06 +0000 (02:47 -0700)]
Combine ABC_COMMAND_LUT

6 years agoFix "a" extension
Eddie Hung [Sun, 26 May 2019 09:44:36 +0000 (02:44 -0700)]
Fix "a" extension

6 years agoMerge pull request #1035 from YosysHQ/eddie/opt_rmdff
Clifford Wolf [Sun, 26 May 2019 09:44:31 +0000 (11:44 +0200)]
Merge pull request #1035 from YosysHQ/eddie/opt_rmdff

opt_rmdff to work on $dffe and $_DFFE_*

6 years agoMerge pull request #1042 from mmicko/git_ignore_python
Clifford Wolf [Sun, 26 May 2019 08:40:40 +0000 (10:40 +0200)]
Merge pull request #1042 from mmicko/git_ignore_python

Add files to ignore for python build

6 years agoAdd files to ignore for python build
Miodrag Milanovic [Sun, 26 May 2019 07:31:43 +0000 (09:31 +0200)]
Add files to ignore for python build

6 years agoFix "write_xaiger", and to write each box contents into holes
Eddie Hung [Sun, 26 May 2019 05:34:50 +0000 (22:34 -0700)]
Fix "write_xaiger", and to write each box contents into holes

6 years agoMerge remote-tracking branch 'origin/master' into xc7mux
Eddie Hung [Sun, 26 May 2019 03:50:47 +0000 (20:50 -0700)]
Merge remote-tracking branch 'origin/master' into xc7mux

6 years agoRevert enable check
Eddie Hung [Sat, 25 May 2019 19:55:57 +0000 (12:55 -0700)]
Revert enable check

6 years agoMerge pull request #1041 from YosysHQ/clifford/fix1040
Clifford Wolf [Sat, 25 May 2019 17:17:05 +0000 (19:17 +0200)]
Merge pull request #1041 from YosysHQ/clifford/fix1040

Fix handling of offset and upto module ports in write_blif

6 years agoFix handling of offset and upto module ports in write_blif, fixes #1040
Clifford Wolf [Sat, 25 May 2019 15:45:14 +0000 (17:45 +0200)]
Fix handling of offset and upto module ports in write_blif, fixes #1040

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoTry new LUT delays
Eddie Hung [Sat, 25 May 2019 03:39:55 +0000 (20:39 -0700)]
Try new LUT delays

6 years agoFix init
Eddie Hung [Sat, 25 May 2019 01:43:26 +0000 (18:43 -0700)]
Fix init

6 years agoFix typos
Eddie Hung [Sat, 25 May 2019 01:34:27 +0000 (18:34 -0700)]
Fix typos

6 years agoAdd more tests
Eddie Hung [Sat, 25 May 2019 01:33:18 +0000 (18:33 -0700)]
Add more tests