yosys.git
6 years agoSupport for SystemVerilog interfaces as a port in the top level module + test case
Ruben Undheim [Sat, 20 Oct 2018 09:58:25 +0000 (11:58 +0200)]
Support for SystemVerilog interfaces as a port in the top level module + test case

6 years agoFixed memory leak
Ruben Undheim [Sat, 20 Oct 2018 09:57:39 +0000 (11:57 +0200)]
Fixed memory leak

6 years agoMerge pull request #673 from daveshah1/ecp5_improve
Clifford Wolf [Fri, 19 Oct 2018 15:32:42 +0000 (17:32 +0200)]
Merge pull request #673 from daveshah1/ecp5_improve

Small ECP5 improvements

6 years agoecp5: Sim model fixes
David Shah [Thu, 18 Oct 2018 18:40:02 +0000 (19:40 +0100)]
ecp5: Sim model fixes

Signed-off-by: David Shah <dave@ds0.me>
6 years agoecp5: Add latch inference
David Shah [Thu, 18 Oct 2018 18:39:48 +0000 (19:39 +0100)]
ecp5: Add latch inference

Signed-off-by: David Shah <dave@ds0.me>
6 years agoMerge pull request #672 from daveshah1/fix_bram
Clifford Wolf [Fri, 19 Oct 2018 14:09:11 +0000 (16:09 +0200)]
Merge pull request #672 from daveshah1/fix_bram

memory_bram: Reset make_outreg when growing read ports

6 years agomemory_bram: Reset make_outreg when growing read ports
David Shah [Fri, 19 Oct 2018 13:45:45 +0000 (14:45 +0100)]
memory_bram: Reset make_outreg when growing read ports

Signed-off-by: David Shah <dave@ds0.me>
6 years agoMerge pull request #671 from rafaeltp/master
Clifford Wolf [Fri, 19 Oct 2018 11:05:51 +0000 (13:05 +0200)]
Merge pull request #671 from rafaeltp/master

adding offset info to memories on verilog output

6 years agoMerge pull request #670 from rubund/feature/basic_svinterface_test
Clifford Wolf [Fri, 19 Oct 2018 11:03:38 +0000 (13:03 +0200)]
Merge pull request #670 from rubund/feature/basic_svinterface_test

Basic test for checking correct synthesis of SystemVerilog interfaces

6 years agoadding offset info to memories
rafaeltp [Thu, 18 Oct 2018 23:22:33 +0000 (16:22 -0700)]
adding offset info to memories

6 years agoadding offset info to memories
rafaeltp [Thu, 18 Oct 2018 23:20:21 +0000 (16:20 -0700)]
adding offset info to memories

6 years agoBasic test for checking correct synthesis of SystemVerilog interfaces
Ruben Undheim [Thu, 18 Oct 2018 19:27:04 +0000 (21:27 +0200)]
Basic test for checking correct synthesis of SystemVerilog interfaces

6 years agoUpdate ABC to git rev 14d985a
Clifford Wolf [Thu, 18 Oct 2018 10:26:53 +0000 (12:26 +0200)]
Update ABC to git rev 14d985a

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #659 from rubund/sv_interfaces
Clifford Wolf [Thu, 18 Oct 2018 08:58:47 +0000 (10:58 +0200)]
Merge pull request #659 from rubund/sv_interfaces

Support for SystemVerilog interfaces and modports

6 years agoMerge pull request #657 from mithro/xilinx-vpr
Clifford Wolf [Thu, 18 Oct 2018 08:54:03 +0000 (10:54 +0200)]
Merge pull request #657 from mithro/xilinx-vpr

xilinx: Still map LUT7/LUT8 to Xilinx specific primitives when using `-vpr`

6 years agoMerge pull request #664 from tklam/ignore-verilog-protect
Clifford Wolf [Thu, 18 Oct 2018 08:52:07 +0000 (10:52 +0200)]
Merge pull request #664 from tklam/ignore-verilog-protect

Ignore protect endprotect

6 years agoUpdate ABC to git rev c5b48bb
Clifford Wolf [Wed, 17 Oct 2018 10:23:50 +0000 (12:23 +0200)]
Update ABC to git rev c5b48bb

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMinor code cleanups in liberty front-end
Clifford Wolf [Wed, 17 Oct 2018 10:23:36 +0000 (12:23 +0200)]
Minor code cleanups in liberty front-end

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #660 from tklam/parse-liberty-detect-ff-latch
Clifford Wolf [Wed, 17 Oct 2018 10:21:17 +0000 (12:21 +0200)]
Merge pull request #660 from tklam/parse-liberty-detect-ff-latch

Handling ff/latch in liberty files

6 years agoMerge pull request #663 from aman-goel/master
Clifford Wolf [Wed, 17 Oct 2018 10:18:57 +0000 (12:18 +0200)]
Merge pull request #663 from aman-goel/master

Update to .smv backend

6 years agoMerge pull request #658 from daveshah1/ecp5_bram
Clifford Wolf [Wed, 17 Oct 2018 10:16:23 +0000 (12:16 +0200)]
Merge pull request #658 from daveshah1/ecp5_bram

ECP5 BRAM inference

6 years agoMerge pull request #641 from tklam/master
Clifford Wolf [Wed, 17 Oct 2018 10:15:14 +0000 (12:15 +0200)]
Merge pull request #641 from tklam/master

Fix issue #639

6 years agoMerge pull request #638 from udif/pr_reg_wire_error
Clifford Wolf [Wed, 17 Oct 2018 10:13:18 +0000 (12:13 +0200)]
Merge pull request #638 from udif/pr_reg_wire_error

Fix issue #630

6 years agoWe have 2018 now
Clifford Wolf [Tue, 16 Oct 2018 14:51:58 +0000 (16:51 +0200)]
We have 2018 now

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAfter release is before release
Clifford Wolf [Tue, 16 Oct 2018 14:44:58 +0000 (16:44 +0200)]
After release is before release

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge branch 'yosys-0.8-rc'
Clifford Wolf [Tue, 16 Oct 2018 14:40:10 +0000 (16:40 +0200)]
Merge branch 'yosys-0.8-rc'

6 years agoYosys 0.8 yosys-0.8
Clifford Wolf [Tue, 16 Oct 2018 14:22:16 +0000 (16:22 +0200)]
Yosys 0.8

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoignore protect endprotect
argama [Tue, 16 Oct 2018 13:33:37 +0000 (21:33 +0800)]
ignore protect endprotect

6 years agoUpdate command reference manual
Clifford Wolf [Tue, 16 Oct 2018 13:28:37 +0000 (15:28 +0200)]
Update command reference manual

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoecp5: Disable LSR inversion
David Shah [Tue, 16 Oct 2018 11:48:39 +0000 (12:48 +0100)]
ecp5: Disable LSR inversion

Signed-off-by: David Shah <dave@ds0.me>
6 years agoMinor update
Aman Goel [Mon, 15 Oct 2018 17:54:12 +0000 (13:54 -0400)]
Minor update

6 years agoHandle FIXME for modport members without type directly in front
Ruben Undheim [Sat, 13 Oct 2018 18:48:55 +0000 (20:48 +0200)]
Handle FIXME for modport members without type directly in front

6 years agoDocumentation improvements etc.
Ruben Undheim [Sat, 13 Oct 2018 18:34:44 +0000 (20:34 +0200)]
Documentation improvements etc.

- Mention new feature in the SystemVerilog section in the README file
- Commented changes much better
- Rename a few signals to make it clearer
- Prevent warning for unused signals in an easier way
- Add myself as copyright holder to 2 files
- Fix one potential memory leak (delete 'wire' if not in modport)

6 years agodetect ff/latch before processing other nodes
argama [Sat, 13 Oct 2018 17:42:48 +0000 (01:42 +0800)]
detect ff/latch before processing other nodes

6 years agostop check_signal_in_fanout from traversing FFs
tklam [Sat, 13 Oct 2018 15:24:24 +0000 (23:24 +0800)]
stop check_signal_in_fanout from traversing FFs

6 years agostop check_signal_in_fanout from traversing FFs
tklam [Sat, 13 Oct 2018 15:11:19 +0000 (23:11 +0800)]
stop check_signal_in_fanout from traversing FFs

6 years agoMerge branch 'master' of https://github.com/YosysHQ/yosys
tklam [Sat, 13 Oct 2018 14:52:31 +0000 (22:52 +0800)]
Merge branch 'master' of https://github.com/YosysHQ/yosys

6 years agoFix build error with clang
Ruben Undheim [Fri, 12 Oct 2018 20:02:29 +0000 (22:02 +0200)]
Fix build error with clang

6 years agoSupport for 'modports' for System Verilog interfaces
Ruben Undheim [Fri, 12 Oct 2018 18:58:37 +0000 (20:58 +0200)]
Support for 'modports' for System Verilog interfaces

6 years agoSynthesis support for SystemVerilog interfaces
Ruben Undheim [Thu, 11 Oct 2018 21:33:31 +0000 (23:33 +0200)]
Synthesis support for SystemVerilog interfaces

This time doing the changes mostly in AST before RTLIL generation

6 years agoBRAM improvements
David Shah [Fri, 12 Oct 2018 13:22:21 +0000 (14:22 +0100)]
BRAM improvements

Signed-off-by: David Shah <dave@ds0.me>
6 years agoecp5: Adding BRAM maps for all size options
David Shah [Wed, 10 Oct 2018 16:18:17 +0000 (17:18 +0100)]
ecp5: Adding BRAM maps for all size options

Signed-off-by: David Shah <dave@ds0.me>
6 years agoecp5: First BRAM type maps successfully
David Shah [Wed, 10 Oct 2018 15:35:19 +0000 (16:35 +0100)]
ecp5: First BRAM type maps successfully

Signed-off-by: David Shah <dave@ds0.me>
6 years agoecp5: Script for BRAM IO connections
David Shah [Wed, 10 Oct 2018 15:11:00 +0000 (16:11 +0100)]
ecp5: Script for BRAM IO connections

Signed-off-by: David Shah <dave@ds0.me>
6 years agoecp5: Adding BRAM initialisation and config
David Shah [Tue, 9 Oct 2018 13:19:04 +0000 (14:19 +0100)]
ecp5: Adding BRAM initialisation and config

Signed-off-by: David Shah <dave@ds0.me>
6 years agoxilinx: Still map LUT7/LUT8 to Xilinx specific primitives.
Tim 'mithro' Ansell [Mon, 8 Oct 2018 23:52:12 +0000 (16:52 -0700)]
xilinx: Still map LUT7/LUT8 to Xilinx specific primitives.

Then if targeting vpr map all the Xilinx specific LUTs back into generic
Yosys LUTs.

6 years agoImprove Verific importer blackbox handling
Clifford Wolf [Sun, 7 Oct 2018 17:48:42 +0000 (19:48 +0200)]
Improve Verific importer blackbox handling

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoecp5: Add blackbox for DP16KD
David Shah [Fri, 5 Oct 2018 10:35:59 +0000 (11:35 +0100)]
ecp5: Add blackbox for DP16KD

Signed-off-by: David Shah <dave@ds0.me>
6 years agoMerge pull request #651 from ARandomOWL/stdcells_fix
Clifford Wolf [Fri, 5 Oct 2018 07:59:57 +0000 (09:59 +0200)]
Merge pull request #651 from ARandomOWL/stdcells_fix

Fix IdString M in setup_stdcells()

6 years agoAdd "write_edif -attrprop"
Clifford Wolf [Fri, 5 Oct 2018 07:41:18 +0000 (09:41 +0200)]
Add "write_edif -attrprop"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #654 from mithro/patch-1
Clifford Wolf [Fri, 5 Oct 2018 07:29:26 +0000 (09:29 +0200)]
Merge pull request #654 from mithro/patch-1

Fix misspelling in issue_template.md

6 years agoFix compiler warning in verific.cc
Clifford Wolf [Fri, 5 Oct 2018 07:26:10 +0000 (09:26 +0200)]
Fix compiler warning in verific.cc

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoFix misspelling in issue_template.md
Tim Ansell [Fri, 5 Oct 2018 00:15:30 +0000 (17:15 -0700)]
Fix misspelling in issue_template.md

It's been bugging me :-P

6 years agoFix IdString M in setup_stdcells()
Adrian Wheeldon [Thu, 4 Oct 2018 14:36:26 +0000 (15:36 +0100)]
Fix IdString M in setup_stdcells()

6 years agoAdd inout ports to cells_xtra.v
Clifford Wolf [Thu, 4 Oct 2018 09:30:55 +0000 (11:30 +0200)]
Add inout ports to cells_xtra.v

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #650 from mithro/patch-1
Clifford Wolf [Thu, 4 Oct 2018 09:30:00 +0000 (11:30 +0200)]
Merge pull request #650 from mithro/patch-1

xilinx: Adding missing inout IO port to IOBUF

6 years agoxilinx: Adding missing inout IO port to IOBUF
Tim Ansell [Wed, 3 Oct 2018 23:38:32 +0000 (16:38 -0700)]
xilinx: Adding missing inout IO port to IOBUF

6 years agoMerge branch 'master' of https://github.com/YosysHQ/yosys
tklam [Wed, 3 Oct 2018 13:17:03 +0000 (21:17 +0800)]
Merge branch 'master' of https://github.com/YosysHQ/yosys

6 years agoMerge pull request #645 from daveshah1/ecp5_dram_fix
Clifford Wolf [Tue, 2 Oct 2018 08:00:10 +0000 (10:00 +0200)]
Merge pull request #645 from daveshah1/ecp5_dram_fix

ecp5: Don't map ROMs to DRAM

6 years agoMerge pull request #646 from tomverbeure/issue594
Clifford Wolf [Tue, 2 Oct 2018 07:51:44 +0000 (09:51 +0200)]
Merge pull request #646 from tomverbeure/issue594

Fix for issue 594.

6 years agoFix for issue 594.
Tom Verbeure [Tue, 2 Oct 2018 07:44:23 +0000 (07:44 +0000)]
Fix for issue 594.

6 years agoUpdate to .smv backend
Aman Goel [Mon, 1 Oct 2018 23:03:10 +0000 (19:03 -0400)]
Update to .smv backend

Splitting VAR and ASSIGN into IVAR, VAR, DEFINE and ASSIGN. This allows better handling by nuXmv for post-processing (since now only state variables are listed under VAR).

6 years agoAdd read_verilog $changed support
Dan Gisselquist [Mon, 1 Oct 2018 17:41:35 +0000 (19:41 +0200)]
Add read_verilog $changed support

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoecp5: Don't map ROMs to DRAM
David Shah [Mon, 1 Oct 2018 17:34:41 +0000 (18:34 +0100)]
ecp5: Don't map ROMs to DRAM

Signed-off-by: David Shah <davey1576@gmail.com>
6 years agoMerge pull request #4 from YosysHQ/master
Aman Goel [Mon, 1 Oct 2018 13:09:40 +0000 (09:09 -0400)]
Merge pull request #4 from YosysHQ/master

Merge with official repo

6 years agoMerge branch 'yosys-0.8-rc' of github.com:YosysHQ/yosys
Clifford Wolf [Sun, 30 Sep 2018 16:44:07 +0000 (18:44 +0200)]
Merge branch 'yosys-0.8-rc' of github.com:YosysHQ/yosys

6 years agoFix handling of $past 2nd argument in read_verilog
Clifford Wolf [Sun, 30 Sep 2018 16:43:35 +0000 (18:43 +0200)]
Fix handling of $past 2nd argument in read_verilog

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge branch 'yosys-0.8-rc' of github.com:YosysHQ/yosys
Clifford Wolf [Fri, 28 Sep 2018 15:20:43 +0000 (17:20 +0200)]
Merge branch 'yosys-0.8-rc' of github.com:YosysHQ/yosys

6 years agoUpdate to v2 YosysVS template
Clifford Wolf [Fri, 28 Sep 2018 15:20:16 +0000 (17:20 +0200)]
Update to v2 YosysVS template

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agofix bug: pass by reference
tklam [Wed, 26 Sep 2018 09:57:39 +0000 (17:57 +0800)]
fix bug: pass by reference

6 years agoFix issue #639
TK Lam [Wed, 26 Sep 2018 08:11:45 +0000 (16:11 +0800)]
Fix issue #639

6 years agoFixed issue #630 by fixing a minor typo in the previous commit
Udi Finkelstein [Mon, 24 Sep 2018 21:32:57 +0000 (00:32 +0300)]
Fixed issue #630 by fixing a minor typo in the previous commit
(as well as a non critical minor code optimization)

6 years agoAdd "read_verilog -noassert -noassume -assert-assumes"
Clifford Wolf [Mon, 24 Sep 2018 18:51:16 +0000 (20:51 +0200)]
Add "read_verilog -noassert -noassume -assert-assumes"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdded support for ommited "parameter" in Verilog-2001 style parameter decl in SV...
Clifford Wolf [Sun, 23 Sep 2018 08:32:54 +0000 (10:32 +0200)]
Added support for ommited "parameter" in Verilog-2001 style parameter decl in SV mode

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge branch 'master' of https://github.com/mmicko/yosys into yosys-0.8-rc
Clifford Wolf [Sun, 23 Sep 2018 08:04:37 +0000 (10:04 +0200)]
Merge branch 'master' of https://github.com/mmicko/yosys into yosys-0.8-rc

6 years agoUpdate CHANGELOG
Clifford Wolf [Sun, 23 Sep 2018 07:25:40 +0000 (09:25 +0200)]
Update CHANGELOG

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoadded prefix to FDirection constants, fixing windows build
Miodrag Milanovic [Fri, 21 Sep 2018 18:43:49 +0000 (20:43 +0200)]
added prefix to FDirection constants, fixing windows build

6 years agoUpdate CHANGLELOG
Clifford Wolf [Fri, 21 Sep 2018 14:27:07 +0000 (16:27 +0200)]
Update CHANGLELOG

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoUpdate Changelog
Clifford Wolf [Fri, 21 Sep 2018 11:55:20 +0000 (13:55 +0200)]
Update Changelog

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoMerge pull request #633 from mmicko/master
Clifford Wolf [Wed, 19 Sep 2018 13:08:31 +0000 (15:08 +0200)]
Merge pull request #633 from mmicko/master

Fix Cygwin build and document needed packages

6 years agoMerge pull request #631 from acw1251/master
Clifford Wolf [Wed, 19 Sep 2018 13:07:28 +0000 (15:07 +0200)]
Merge pull request #631 from acw1251/master

Fixed typo in "verilog_write" help message

6 years agoFix Cygwin build and document needed packages
Miodrag Milanovic [Wed, 19 Sep 2018 08:16:53 +0000 (10:16 +0200)]
Fix Cygwin build and document needed packages

6 years agoFixed typo in "verilog_write" help message
acw1251 [Tue, 18 Sep 2018 17:34:30 +0000 (13:34 -0400)]
Fixed typo in "verilog_write" help message

6 years agoMerge branch 'master' into pr_reg_wire_error
Udi Finkelstein [Mon, 17 Sep 2018 22:27:01 +0000 (01:27 +0300)]
Merge branch 'master' into pr_reg_wire_error

6 years agoFixed remaining cases where we check fo wire reg/wire incorrect assignments
Udi Finkelstein [Mon, 17 Sep 2018 22:23:40 +0000 (01:23 +0300)]
Fixed remaining cases where we check fo wire reg/wire incorrect assignments
on Yosys-generated assignments.
In this case, offending code was:

module top(input in, output out);
function func;
  input arg;
  func = arg;
endfunction
assign out = func(in);
endmodule

6 years agoMerge pull request #625 from aman-goel/master
Clifford Wolf [Fri, 14 Sep 2018 10:36:13 +0000 (12:36 +0200)]
Merge pull request #625 from aman-goel/master

Minor revision to -expose in setundef pass

6 years agoMerge pull request #627 from acw1251/master
Clifford Wolf [Fri, 14 Sep 2018 10:34:51 +0000 (12:34 +0200)]
Merge pull request #627 from acw1251/master

Fixed minor typo in "sim" help message

6 years agoFixed minor typo in "sim" help message
acw1251 [Wed, 12 Sep 2018 22:33:27 +0000 (18:33 -0400)]
Fixed minor typo in "sim" help message

6 years agoMinor revision to -expose in setundef pass
Aman Goel [Tue, 11 Sep 2018 01:44:36 +0000 (21:44 -0400)]
Minor revision to -expose in setundef pass

Adds default value option as -undef when -expose used. Not having set the value mode set can cause the setundef pass to abort.

6 years agoAdd iCE40 SB_SPRAM256KA simulation model
Clifford Wolf [Mon, 10 Sep 2018 09:57:24 +0000 (11:57 +0200)]
Add iCE40 SB_SPRAM256KA simulation model

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdd $lut support to Verilog back-end
Clifford Wolf [Wed, 5 Sep 2018 22:18:01 +0000 (00:18 +0200)]
Add $lut support to Verilog back-end

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdd "verific -L <int>" option
Clifford Wolf [Tue, 4 Sep 2018 18:06:10 +0000 (20:06 +0200)]
Add "verific -L <int>" option

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdd "make ystests"
Clifford Wolf [Thu, 30 Aug 2018 10:26:26 +0000 (12:26 +0200)]
Add "make ystests"

Signed-off-by: Clifford Wolf <clifford@clifford.at>
6 years agoAdd GCC to osx deps (#620)
Miodrag Milanović [Tue, 28 Aug 2018 15:17:33 +0000 (08:17 -0700)]
Add GCC to osx deps (#620)

* Add GCC to osx deps

* Force gcc-7 install

6 years agoMerge pull request #619 from mmicko/master
Clifford Wolf [Tue, 28 Aug 2018 11:37:11 +0000 (13:37 +0200)]
Merge pull request #619 from mmicko/master

Remove mercurial, since it is not needed anymore

6 years agoRemove mercurial, since it is not needed anymore
Miodrag Milanovic [Tue, 28 Aug 2018 11:11:41 +0000 (13:11 +0200)]
Remove mercurial, since it is not needed anymore

6 years agoMerge pull request #618 from ucb-bar/firrtl+modules+shiftfixes
Clifford Wolf [Tue, 28 Aug 2018 10:04:49 +0000 (12:04 +0200)]
Merge pull request #618 from ucb-bar/firrtl+modules+shiftfixes

Add support for modules.

6 years agoMerge branch 'master' into firrtl+modules+shiftfixes
Jim Lawson [Mon, 27 Aug 2018 19:13:04 +0000 (12:13 -0700)]
Merge branch 'master' into firrtl+modules+shiftfixes

6 years agoRemove unused functions.
Jim Lawson [Mon, 27 Aug 2018 17:18:33 +0000 (10:18 -0700)]
Remove unused functions.

6 years agoMerge pull request #3 from YosysHQ/master
Jim Lawson [Mon, 27 Aug 2018 17:09:39 +0000 (10:09 -0700)]
Merge pull request #3 from YosysHQ/master

merge with YosysHQ