yosys.git
6 years agoBugfix in hierarchy blackbox module port width handling
Clifford Wolf [Sun, 7 Jan 2018 15:35:22 +0000 (16:35 +0100)]
Bugfix in hierarchy blackbox module port width handling

6 years agoUpdate ABC to hg rev 6e3c24b3308a
Clifford Wolf [Sun, 7 Jan 2018 12:47:59 +0000 (13:47 +0100)]
Update ABC to hg rev 6e3c24b3308a

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #479 from Fatsie/latch_without_data
Clifford Wolf [Fri, 5 Jan 2018 22:00:28 +0000 (23:00 +0100)]
Merge pull request #479 from Fatsie/latch_without_data

Some standard cell libraries include a latch with only set/reset.

6 years agoBugfix in hierarchy handling of blackbox module ports
Clifford Wolf [Fri, 5 Jan 2018 12:28:45 +0000 (13:28 +0100)]
Bugfix in hierarchy handling of blackbox module ports

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #480 from Fatsie/liberty_value_expression
Clifford Wolf [Thu, 4 Jan 2018 12:30:00 +0000 (13:30 +0100)]
Merge pull request #480 from Fatsie/liberty_value_expression

Value of properties can be expression.

6 years agoTemporarily derive blackbox modules in hierarchy to evaluate port widths
Clifford Wolf [Thu, 4 Jan 2018 12:23:29 +0000 (13:23 +0100)]
Temporarily derive blackbox modules in hierarchy to evaluate port widths

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoValue of properties can be expression.
Staf Verhaegen [Wed, 3 Jan 2018 20:36:22 +0000 (20:36 +0000)]
Value of properties can be expression.

Example found in the 2007.03 Liberty Reference Manual that was also found
in the wild:

    input_voltage(CMOS) {
        vil : 0.3 * VDD ;
        vih : 0.7 * VDD ;
        vimin : -0.5 ;
        vimax : VDD + 0.5 ;
    }

Current implementation just parses the expression but no interpretation is done.

6 years agoSome standard cell libraries include a latch with only set/reset.
Staf Verhaegen [Wed, 3 Jan 2018 20:29:55 +0000 (20:29 +0000)]
Some standard cell libraries include a latch with only set/reset.

6 years agoAdd "no driver for signal bit" error msg to btor back-end
Clifford Wolf [Sun, 24 Dec 2017 16:29:54 +0000 (17:29 +0100)]
Add "no driver for signal bit" error msg to btor back-end

6 years agoBugfix in verilog_defaults argument parser
Clifford Wolf [Sun, 24 Dec 2017 16:21:37 +0000 (17:21 +0100)]
Bugfix in verilog_defaults argument parser

6 years agoFix minor typo in "prep" help message
Clifford Wolf [Tue, 19 Dec 2017 20:44:05 +0000 (21:44 +0100)]
Fix minor typo in "prep" help message

6 years agoSimple fix BTOR memory encoding
Clifford Wolf [Sun, 17 Dec 2017 17:57:54 +0000 (18:57 +0100)]
Simple fix BTOR memory encoding

6 years agoImprove BTOR memory encoding
Clifford Wolf [Sun, 17 Dec 2017 17:55:17 +0000 (18:55 +0100)]
Improve BTOR memory encoding

6 years agoMerge branch 'btor-ng'
Clifford Wolf [Fri, 15 Dec 2017 01:21:56 +0000 (02:21 +0100)]
Merge branch 'btor-ng'

6 years agoAdd array support to btor back-end
Clifford Wolf [Fri, 15 Dec 2017 01:19:06 +0000 (02:19 +0100)]
Add array support to btor back-end

6 years agoAdd $anyconst/$anyseq support to btor back-end
Clifford Wolf [Thu, 14 Dec 2017 23:40:24 +0000 (00:40 +0100)]
Add $anyconst/$anyseq support to btor back-end

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Thu, 14 Dec 2017 02:13:47 +0000 (03:13 +0100)]
Merge branch 'master' into btor-ng

6 years agoAdd yosys-smtbmc VCD writer support for memories with async writes
Clifford Wolf [Thu, 14 Dec 2017 02:05:20 +0000 (03:05 +0100)]
Add yosys-smtbmc VCD writer support for memories with async writes

6 years agoFix a bug in clk2fflogic memory handling
Clifford Wolf [Thu, 14 Dec 2017 01:29:19 +0000 (02:29 +0100)]
Fix a bug in clk2fflogic memory handling

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Thu, 14 Dec 2017 01:17:01 +0000 (02:17 +0100)]
Merge branch 'master' into btor-ng

6 years agoAdd clk2fflogic memory support
Clifford Wolf [Thu, 14 Dec 2017 01:07:31 +0000 (02:07 +0100)]
Add clk2fflogic memory support

6 years agoAdd smt2 back-end support for async write memories
Clifford Wolf [Thu, 14 Dec 2017 01:07:10 +0000 (02:07 +0100)]
Add smt2 back-end support for async write memories

6 years agoAdd RTLIL::Const::is_fully_ones()
Clifford Wolf [Thu, 14 Dec 2017 01:06:39 +0000 (02:06 +0100)]
Add RTLIL::Const::is_fully_ones()

6 years agoAdd SigSpec::is_fully_ones()
Clifford Wolf [Tue, 12 Dec 2017 20:48:31 +0000 (21:48 +0100)]
Add SigSpec::is_fully_ones()

6 years agoMerge pull request #469 from kkiningh/master
Clifford Wolf [Wed, 13 Dec 2017 23:03:26 +0000 (00:03 +0100)]
Merge pull request #469 from kkiningh/master

Use quote includes for yosys.h

6 years agoUse quote includes for yosys.h
Kevin Kiningham [Wed, 13 Dec 2017 21:27:52 +0000 (13:27 -0800)]
Use quote includes for yosys.h

6 years agoCheck for memories in clk2fflogic
Clifford Wolf [Wed, 13 Dec 2017 18:14:34 +0000 (19:14 +0100)]
Check for memories in clk2fflogic

6 years agoMerge pull request #468 from grahamedgecombe/fix-sb-io-od
Clifford Wolf [Wed, 13 Dec 2017 15:55:39 +0000 (16:55 +0100)]
Merge pull request #468 from grahamedgecombe/fix-sb-io-od

Fix SB_IO_OD module

6 years agoAdd "write_btor -s" mode
Clifford Wolf [Tue, 12 Dec 2017 23:15:44 +0000 (00:15 +0100)]
Add "write_btor -s" mode

6 years agoAdd state initval handling to btor back-end
Clifford Wolf [Tue, 12 Dec 2017 22:43:55 +0000 (23:43 +0100)]
Add state initval handling to btor back-end

6 years agoAdd btor back-end support for 'x' constants
Clifford Wolf [Tue, 12 Dec 2017 20:48:55 +0000 (21:48 +0100)]
Add btor back-end support for 'x' constants

6 years agoAdd SigSpec::is_fully_ones()
Clifford Wolf [Tue, 12 Dec 2017 20:48:31 +0000 (21:48 +0100)]
Add SigSpec::is_fully_ones()

6 years agoAdd warnings for driver-driver conflicts between FFs (and other cells) and constants
Clifford Wolf [Tue, 12 Dec 2017 16:13:27 +0000 (17:13 +0100)]
Add warnings for driver-driver conflicts between FFs (and other cells) and constants

6 years agoAdd btor $shift/$shiftx support
Clifford Wolf [Mon, 11 Dec 2017 13:24:19 +0000 (14:24 +0100)]
Add btor $shift/$shiftx support

6 years agoFix port names in SB_IO_OD
Graham Edgecombe [Sat, 9 Dec 2017 21:49:07 +0000 (21:49 +0000)]
Fix port names in SB_IO_OD

6 years agoRemove trailing comma from SB_IO_OD port list
Graham Edgecombe [Sat, 9 Dec 2017 21:39:20 +0000 (21:39 +0000)]
Remove trailing comma from SB_IO_OD port list

This isn't compatible with Icarus Verilog.

6 years agoFix btor back-end shift handling
Clifford Wolf [Sun, 10 Dec 2017 07:40:11 +0000 (08:40 +0100)]
Fix btor back-end shift handling

6 years agoAdd support for $pmux in btor back-end
Clifford Wolf [Sun, 10 Dec 2017 07:11:08 +0000 (08:11 +0100)]
Add support for $pmux in btor back-end

6 years agoAdd support for more cell types to btor back-end
Clifford Wolf [Sun, 10 Dec 2017 06:16:47 +0000 (07:16 +0100)]
Add support for more cell types to btor back-end

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Sun, 10 Dec 2017 00:27:41 +0000 (01:27 +0100)]
Merge branch 'master' into btor-ng

6 years agoAdd support for Verific PRIM_SVA_NOT properties
Clifford Wolf [Sun, 10 Dec 2017 00:10:03 +0000 (01:10 +0100)]
Add support for Verific PRIM_SVA_NOT properties

6 years agoAdd Verific OPER_SVA_STABLE support
Clifford Wolf [Sat, 9 Dec 2017 23:59:44 +0000 (00:59 +0100)]
Add Verific OPER_SVA_STABLE support

6 years agoRefactoring Verific SVA rewriter
Clifford Wolf [Sat, 9 Dec 2017 23:26:26 +0000 (00:26 +0100)]
Refactoring Verific SVA rewriter

6 years agoFix btor concat
Clifford Wolf [Sat, 9 Dec 2017 04:58:14 +0000 (05:58 +0100)]
Fix btor concat

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Sat, 9 Dec 2017 04:26:02 +0000 (05:26 +0100)]
Merge branch 'master' into btor-ng

6 years agoMerge pull request #467 from mithro/patch-1
Clifford Wolf [Sat, 9 Dec 2017 02:46:32 +0000 (03:46 +0100)]
Merge pull request #467 from mithro/patch-1

Fix spelling in -vpr help for synth_ice40

6 years agoFix spelling in -vpr help for synth_ice40
Tim Ansell [Sat, 9 Dec 2017 02:44:45 +0000 (18:44 -0800)]
Fix spelling in -vpr help for synth_ice40

6 years agoUse "hg ... --insecure" for cloning/pulling ABC
Clifford Wolf [Sun, 3 Dec 2017 05:11:11 +0000 (06:11 +0100)]
Use "hg ... --insecure" for cloning/pulling ABC

6 years agoUpdate ABC to hg rev 31fc97b0aeed
Clifford Wolf [Sat, 2 Dec 2017 20:24:12 +0000 (21:24 +0100)]
Update ABC to hg rev 31fc97b0aeed

6 years agoFix error handling for nested always/initial
Clifford Wolf [Sat, 2 Dec 2017 17:52:05 +0000 (18:52 +0100)]
Fix error handling for nested always/initial

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Fri, 1 Dec 2017 22:51:58 +0000 (23:51 +0100)]
Merge branch 'master' into btor-ng

6 years agoMerge pull request #462 from daveshah1/up5k
Clifford Wolf [Tue, 28 Nov 2017 14:53:53 +0000 (15:53 +0100)]
Merge pull request #462 from daveshah1/up5k

Add remaining UltraPlus cells to ice40 techlib

6 years agoAdd remaining UltraPlus cells to ice40 techlib
David Shah [Tue, 28 Nov 2017 11:07:49 +0000 (11:07 +0000)]
Add remaining UltraPlus cells to ice40 techlib

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Mon, 27 Nov 2017 18:45:15 +0000 (19:45 +0100)]
Merge branch 'master' into btor-ng

6 years agoFixed "yosys-smtbmc -g" handling of no solution
Clifford Wolf [Mon, 27 Nov 2017 16:42:32 +0000 (17:42 +0100)]
Fixed "yosys-smtbmc -g" handling of no solution

6 years agoFixed "yosys-smtbmc -g" handling of no solution
Clifford Wolf [Mon, 27 Nov 2017 16:42:32 +0000 (17:42 +0100)]
Fixed "yosys-smtbmc -g" handling of no solution

6 years agoMerge pull request #460 from mithro/g3-fixes
Clifford Wolf [Sun, 26 Nov 2017 06:16:06 +0000 (07:16 +0100)]
Merge pull request #460 from mithro/g3-fixes

Bunch of small fixes

6 years agoMerge pull request #461 from mithro/travis-rework
Clifford Wolf [Sun, 26 Nov 2017 06:14:58 +0000 (07:14 +0100)]
Merge pull request #461 from mithro/travis-rework

travis: Print branches before fetching, try both locations.

6 years agotravis: Print branches before fetching, try both locations.
Tim 'mithro' Ansell [Sun, 26 Nov 2017 03:44:41 +0000 (19:44 -0800)]
travis: Print branches before fetching, try both locations.

6 years agominisat: Make update script executable.
Tim 'mithro' Ansell [Fri, 24 Nov 2017 04:37:35 +0000 (15:37 +1100)]
minisat: Make update script executable.

6 years agominisat: Only define __STDC_XXX_MACROS if not already defined.
Tim 'mithro' Ansell [Fri, 24 Nov 2017 04:34:46 +0000 (15:34 +1100)]
minisat: Only define __STDC_XXX_MACROS if not already defined.

Replace;
 #define __STDC_LIMIT_MACROS
 #define __STDC_FORMAT_MACROS

With
 #ifndef __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS
 #endif
 #ifndef __STDC_FORMAT_MACROS
 #define __STDC_FORMAT_MACROS
 #endif

This fixes a compile warning if you are defining these macros in your
CXXFLAGS (as some distros do).

6 years agominisat: Remove template with gzFile specialization.
Tim 'mithro' Ansell [Fri, 24 Nov 2017 04:30:55 +0000 (15:30 +1100)]
minisat: Remove template with gzFile specialization.

All the other gzFile functions have been removed but this template was
still left around.

6 years agosubcircuit: Class with virtual methods should have virtual destructor.
Tim 'mithro' Ansell [Fri, 24 Nov 2017 04:26:56 +0000 (15:26 +1100)]
subcircuit: Class with virtual methods should have virtual destructor.

Fixes a compile warning.

* https://stackoverflow.com/questions/1123044/when-should-your-destructor-be-virtual

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Fri, 24 Nov 2017 17:14:53 +0000 (18:14 +0100)]
Merge branch 'master' into btor-ng

6 years agoBugfixes in new BTOR back-end
Clifford Wolf [Fri, 24 Nov 2017 17:13:41 +0000 (18:13 +0100)]
Bugfixes in new BTOR back-end

6 years agoMerge pull request #446 from mithro/travis-rework
Clifford Wolf [Fri, 24 Nov 2017 05:49:15 +0000 (06:49 +0100)]
Merge pull request #446 from mithro/travis-rework

Reworking the Travis CI for Yosys.

6 years agotravis: Use the cache.
Tim 'mithro' Ansell [Thu, 26 Oct 2017 21:37:38 +0000 (14:37 -0700)]
travis: Use the cache.

6 years agotravis: Adding gcc-4.8 and gcc-6 on Linux.
Tim 'mithro' Ansell [Thu, 26 Oct 2017 19:07:26 +0000 (12:07 -0700)]
travis: Adding gcc-4.8 and gcc-6 on Linux.

6 years agotravis: Reworking travis setup.
Tim 'mithro' Ansell [Thu, 26 Oct 2017 03:01:54 +0000 (20:01 -0700)]
travis: Reworking travis setup.

 * Move the code into scripts inside .travis directory.
 * Build on multiple compiler versions.

Fixes #442 - Make travis build pass
Fixes #441 - Fix git version information on travis build
Fixes #440 - Make travis cache the iverilog build

6 years agoProgress in new BTOR back-end
Clifford Wolf [Thu, 23 Nov 2017 22:44:39 +0000 (23:44 +0100)]
Progress in new BTOR back-end

6 years agoProgress in new BTOR back-end
Clifford Wolf [Thu, 23 Nov 2017 17:50:10 +0000 (18:50 +0100)]
Progress in new BTOR back-end

6 years agoProgress in new BTOR back-end
Clifford Wolf [Thu, 23 Nov 2017 17:14:53 +0000 (18:14 +0100)]
Progress in new BTOR back-end

6 years agoMerge branch 'master' into btor-ng
Clifford Wolf [Thu, 23 Nov 2017 08:00:22 +0000 (09:00 +0100)]
Merge branch 'master' into btor-ng

6 years agoMerge branch 'master' of github.com:cliffordwolf/yosys
Clifford Wolf [Thu, 23 Nov 2017 07:57:55 +0000 (08:57 +0100)]
Merge branch 'master' of github.com:cliffordwolf/yosys

6 years agoAdd Verilog "automatic" keyword (ignored in synthesis)
Clifford Wolf [Thu, 23 Nov 2017 07:48:17 +0000 (08:48 +0100)]
Add Verilog "automatic" keyword (ignored in synthesis)

6 years agoProgress with new BTOR backend
Clifford Wolf [Thu, 23 Nov 2017 07:28:29 +0000 (08:28 +0100)]
Progress with new BTOR backend

6 years agoAdd skeleton for new BTOR back-end
Clifford Wolf [Thu, 23 Nov 2017 05:38:57 +0000 (06:38 +0100)]
Add skeleton for new BTOR back-end

6 years agoRemove old BTOR back-end
Clifford Wolf [Thu, 23 Nov 2017 03:28:51 +0000 (04:28 +0100)]
Remove old BTOR back-end

6 years agoMerge pull request #455 from daveshah1/up5k
Clifford Wolf [Sat, 18 Nov 2017 18:12:48 +0000 (19:12 +0100)]
Merge pull request #455 from daveshah1/up5k

Add UltraPlus specific cells to ice40 techlib

6 years agoRemove unnecessary keep attributes
David Shah [Sat, 18 Nov 2017 17:53:21 +0000 (17:53 +0000)]
Remove unnecessary keep attributes

6 years agoAccept real-valued delay values
Clifford Wolf [Sat, 18 Nov 2017 09:01:30 +0000 (10:01 +0100)]
Accept real-valued delay values

6 years agoMerge pull request #452 from cr1901/master
Clifford Wolf [Sat, 18 Nov 2017 08:58:40 +0000 (09:58 +0100)]
Merge pull request #452 from cr1901/master

Accommodate Windows-style paths during include-file processing.

6 years agoMerge pull request #453 from dh73/master
Clifford Wolf [Sat, 18 Nov 2017 08:56:36 +0000 (09:56 +0100)]
Merge pull request #453 from dh73/master

Updating Intel FPGA subsystem with Cyclone 10, minor changes in examples/intel directory and Speedster cells

6 years agoMerge branch 'master' into up5k
David Shah [Fri, 17 Nov 2017 15:15:39 +0000 (15:15 +0000)]
Merge branch 'master' into up5k

6 years agoAdd "synth_ice40 -vpr"
Clifford Wolf [Thu, 16 Nov 2017 20:37:02 +0000 (21:37 +0100)]
Add "synth_ice40 -vpr"

6 years agoAdd some UltraPlus cells to ice40 techlib
David Shah [Thu, 16 Nov 2017 12:24:35 +0000 (12:24 +0000)]
Add some UltraPlus cells to ice40 techlib

6 years agoFixed the -vout flag to -vqm in examples/intel directory
dh73 [Wed, 15 Nov 2017 04:55:48 +0000 (22:55 -0600)]
Fixed the -vout flag to -vqm in examples/intel directory

6 years agoAccommodate Windows-style paths during include-file processing.
William D. Jones [Tue, 14 Nov 2017 21:16:24 +0000 (16:16 -0500)]
Accommodate Windows-style paths during include-file processing.

6 years agoInitial Cyclone 10 support
dh73 [Thu, 9 Nov 2017 04:45:21 +0000 (22:45 -0600)]
Initial Cyclone 10 support

6 years agoMerge https://github.com/cliffordwolf/yosys
dh73 [Thu, 9 Nov 2017 02:24:01 +0000 (20:24 -0600)]
Merge https://github.com/cliffordwolf/yosys

6 years agoOrganizing Speedster file names
dh73 [Thu, 9 Nov 2017 02:23:55 +0000 (20:23 -0600)]
Organizing Speedster file names

6 years agoAdd support for editline as replacement for readline
Clifford Wolf [Wed, 8 Nov 2017 01:54:24 +0000 (02:54 +0100)]
Add support for editline as replacement for readline

6 years agoAdd "ltp" command
Clifford Wolf [Tue, 31 Oct 2017 11:40:25 +0000 (12:40 +0100)]
Add "ltp" command

6 years agoFix SMT2 handling of initstate in sub-modules
Clifford Wolf [Sun, 29 Oct 2017 12:21:20 +0000 (13:21 +0100)]
Fix SMT2 handling of initstate in sub-modules

6 years agoFix memory corruption bug in opt_rmdff
Clifford Wolf [Thu, 26 Oct 2017 16:02:15 +0000 (18:02 +0200)]
Fix memory corruption bug in opt_rmdff

6 years agoFix typo in opt_clean log message
Clifford Wolf [Thu, 26 Oct 2017 16:01:48 +0000 (18:01 +0200)]
Fix typo in opt_clean log message

6 years agoImprove smtio performance by using reader thread, not writer thread
Clifford Wolf [Wed, 25 Oct 2017 23:01:55 +0000 (01:01 +0200)]
Improve smtio performance by using reader thread, not writer thread

6 years agoUse separate writer thread for talking to SMT solver to avoid read/write deadlock
Clifford Wolf [Wed, 25 Oct 2017 17:59:56 +0000 (19:59 +0200)]
Use separate writer thread for talking to SMT solver to avoid read/write deadlock

6 years agoImprove p_* functions in smtio.py
Clifford Wolf [Wed, 25 Oct 2017 13:45:32 +0000 (15:45 +0200)]
Improve p_* functions in smtio.py

6 years agoDisable OSX in .travis.yml
Clifford Wolf [Wed, 25 Oct 2017 13:17:29 +0000 (15:17 +0200)]
Disable OSX in .travis.yml