yosys.git
5 years agoMerge branch 'master' into eddie/xilinx_srl
Eddie Hung [Mon, 26 Aug 2019 20:56:31 +0000 (13:56 -0700)]
Merge branch 'master' into eddie/xilinx_srl

5 years agoRemove dupe in CHANGELOG, missing end quote
Eddie Hung [Mon, 26 Aug 2019 17:44:23 +0000 (10:44 -0700)]
Remove dupe in CHANGELOG, missing end quote

5 years agoMerge tag 'yosys-0.9'
Clifford Wolf [Mon, 26 Aug 2019 09:11:47 +0000 (11:11 +0200)]
Merge tag 'yosys-0.9'

5 years agoYosys 0.9 yosys-0.9
Clifford Wolf [Mon, 26 Aug 2019 08:37:53 +0000 (10:37 +0200)]
Yosys 0.9

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoMerge pull request #1112 from acw1251/pyosys_sigsig_issue
Clifford Wolf [Sun, 25 Aug 2019 09:22:02 +0000 (11:22 +0200)]
Merge pull request #1112 from acw1251/pyosys_sigsig_issue

Fixed pyosys commands returning RTLIL::SigSig

5 years agoMerge pull request #1327 from YosysHQ/clifford/pmgen
Clifford Wolf [Sat, 24 Aug 2019 06:38:49 +0000 (08:38 +0200)]
Merge pull request #1327 from YosysHQ/clifford/pmgen

Add pmgen slices and choices

5 years agoCreate new $__XILINX_SHREG_ cell for variable length too
Eddie Hung [Sat, 24 Aug 2019 01:15:49 +0000 (18:15 -0700)]
Create new $__XILINX_SHREG_ cell for variable length too

5 years agoDo not allow Q of last cell of variable length SRL to be (* keep *)
Eddie Hung [Sat, 24 Aug 2019 01:15:24 +0000 (18:15 -0700)]
Do not allow Q of last cell of variable length SRL to be (* keep *)

5 years agoAlso add first.Q to chain_bits since variable length
Eddie Hung [Sat, 24 Aug 2019 01:14:06 +0000 (18:14 -0700)]
Also add first.Q to chain_bits since variable length

5 years agoDo not enforce !EN_POLARITY on $dffe
Eddie Hung [Sat, 24 Aug 2019 01:11:28 +0000 (18:11 -0700)]
Do not enforce !EN_POLARITY on $dffe

5 years agoCreate new cell for fixed length SRL
Eddie Hung [Sat, 24 Aug 2019 00:25:30 +0000 (17:25 -0700)]
Create new cell for fixed length SRL

5 years agoCleanup FDRE matching
Eddie Hung [Sat, 24 Aug 2019 00:23:52 +0000 (17:23 -0700)]
Cleanup FDRE matching

5 years agoAdd undocumented feature
Eddie Hung [Fri, 23 Aug 2019 23:41:32 +0000 (16:41 -0700)]
Add undocumented feature

5 years agoOops don't need a finally block
Eddie Hung [Fri, 23 Aug 2019 23:39:37 +0000 (16:39 -0700)]
Oops don't need a finally block

5 years agoKeep track of bits in variable length chain, to check for taps
Eddie Hung [Fri, 23 Aug 2019 23:21:10 +0000 (16:21 -0700)]
Keep track of bits in variable length chain, to check for taps

5 years agoDon't forget $dff has no EN
Eddie Hung [Fri, 23 Aug 2019 23:14:57 +0000 (16:14 -0700)]
Don't forget $dff has no EN

5 years agoSame for variable length
Eddie Hung [Fri, 23 Aug 2019 23:13:16 +0000 (16:13 -0700)]
Same for variable length

5 years agoFilter on en_port for fixed length
Eddie Hung [Fri, 23 Aug 2019 23:09:46 +0000 (16:09 -0700)]
Filter on en_port for fixed length

5 years agoCheck clock is consistent
Eddie Hung [Fri, 23 Aug 2019 22:18:26 +0000 (15:18 -0700)]
Check clock is consistent

5 years agoFix last_cell.D
Eddie Hung [Fri, 23 Aug 2019 22:08:49 +0000 (15:08 -0700)]
Fix last_cell.D

5 years agoRevert "Add a unique argument to pmgen's nusers()"
Eddie Hung [Fri, 23 Aug 2019 22:04:00 +0000 (15:04 -0700)]
Revert "Add a unique argument to pmgen's nusers()"

This reverts commit 1d88887cfdbeedff7dce9024d8fb4ceb014cb2ef.

5 years agoRevert "Fix polarity"
Eddie Hung [Fri, 23 Aug 2019 22:03:42 +0000 (15:03 -0700)]
Revert "Fix polarity"

This reverts commit 9cd23cf0feda3e12ceda1f8fa5d28d2b38f2314d.

5 years agoFix polarity
Eddie Hung [Fri, 23 Aug 2019 21:49:34 +0000 (14:49 -0700)]
Fix polarity

5 years agoCheck for non unique nusers/fanouts
Eddie Hung [Fri, 23 Aug 2019 21:32:36 +0000 (14:32 -0700)]
Check for non unique nusers/fanouts

5 years agoAdd a unique argument to pmgen's nusers()
Eddie Hung [Fri, 23 Aug 2019 21:32:17 +0000 (14:32 -0700)]
Add a unique argument to pmgen's nusers()

5 years agoUpdate doc
Eddie Hung [Fri, 23 Aug 2019 21:16:41 +0000 (14:16 -0700)]
Update doc

5 years agoRemove (* init *) entry when consumed into SRL
Eddie Hung [Fri, 23 Aug 2019 20:56:01 +0000 (13:56 -0700)]
Remove (* init *) entry when consumed into SRL

5 years agoindo -> into
Eddie Hung [Fri, 23 Aug 2019 20:15:41 +0000 (13:15 -0700)]
indo -> into

5 years agoindo -> into
Eddie Hung [Fri, 23 Aug 2019 20:15:41 +0000 (13:15 -0700)]
indo -> into

5 years agoForgot to slice
Eddie Hung [Fri, 23 Aug 2019 20:06:59 +0000 (13:06 -0700)]
Forgot to slice

5 years agoCope with possibility that D could connect to Q on same cell
Eddie Hung [Fri, 23 Aug 2019 20:06:31 +0000 (13:06 -0700)]
Cope with possibility that D could connect to Q on same cell

5 years agoRevert earliest to gcc-4.8, compile iverilog with default compiler
Eddie Hung [Wed, 14 Aug 2019 19:28:17 +0000 (12:28 -0700)]
Revert earliest to gcc-4.8, compile iverilog with default compiler

5 years agoRevert "Bump to gcc-5 as `__warn_memset_zero_len' symbol not in 16.04!?!"
Eddie Hung [Wed, 14 Aug 2019 19:26:45 +0000 (12:26 -0700)]
Revert "Bump to gcc-5 as `__warn_memset_zero_len' symbol not in 16.04!?!"

This reverts commit c82b2fa31f8965be2680c87af6cd9ac5d26ead4d.

5 years agoRemove .0 from clang-8.0
Eddie Hung [Wed, 14 Aug 2019 19:23:15 +0000 (12:23 -0700)]
Remove .0 from clang-8.0

5 years agoBump to gcc-5 as `__warn_memset_zero_len' symbol not in 16.04!?!
Eddie Hung [Wed, 14 Aug 2019 19:16:02 +0000 (12:16 -0700)]
Bump to gcc-5 as `__warn_memset_zero_len' symbol not in 16.04!?!

5 years agobionic -> xenial as its on whitelist
Eddie Hung [Wed, 14 Aug 2019 18:52:08 +0000 (11:52 -0700)]
bionic -> xenial as its on whitelist

5 years agoBump gcc from 4.8 to 4.9 as undefined reference
Eddie Hung [Wed, 14 Aug 2019 18:26:32 +0000 (11:26 -0700)]
Bump gcc from 4.8 to 4.9 as undefined reference

... to `__warn_memset_zero_len'.
Also remove gcc-6, bump gcc-7 to gcc-9, clang from 5.0 to 8.0

5 years agoMention shregmap -tech xilinx is superseded
Eddie Hung [Fri, 23 Aug 2019 19:24:25 +0000 (12:24 -0700)]
Mention shregmap -tech xilinx is superseded

5 years agoxilinx_srl now copes with word-level flops $dff{,e}
Eddie Hung [Fri, 23 Aug 2019 19:22:46 +0000 (12:22 -0700)]
xilinx_srl now copes with word-level flops $dff{,e}

5 years agoxilinx_srl to use 'slice' features of pmgen for word level
Eddie Hung [Fri, 23 Aug 2019 19:22:06 +0000 (12:22 -0700)]
xilinx_srl to use 'slice' features of pmgen for word level

5 years agoMerge remote-tracking branch 'origin/clifford/pmgen' into eddie/xilinx_srl
Eddie Hung [Fri, 23 Aug 2019 18:35:06 +0000 (11:35 -0700)]
Merge remote-tracking branch 'origin/clifford/pmgen' into eddie/xilinx_srl

5 years agoMerge remote-tracking branch 'origin/master' into eddie/xilinx_srl
Eddie Hung [Fri, 23 Aug 2019 18:32:44 +0000 (11:32 -0700)]
Merge remote-tracking branch 'origin/master' into eddie/xilinx_srl

5 years agoForgot one
Eddie Hung [Fri, 23 Aug 2019 18:23:50 +0000 (11:23 -0700)]
Forgot one

5 years agoPut abc_* attributes above port
Eddie Hung [Fri, 23 Aug 2019 18:21:44 +0000 (11:21 -0700)]
Put abc_* attributes above port

5 years agoMake macOS depenency clear
Miodrag Milanovic [Fri, 23 Aug 2019 08:37:50 +0000 (10:37 +0200)]
Make macOS depenency clear

5 years agoMerge pull request #1326 from mmicko/doc-update
Eddie Hung [Fri, 23 Aug 2019 16:12:58 +0000 (09:12 -0700)]
Merge pull request #1326 from mmicko/doc-update

Make macOS dependency clear

5 years agoFix port hanlding in pmgen
Clifford Wolf [Fri, 23 Aug 2019 14:26:54 +0000 (16:26 +0200)]
Fix port hanlding in pmgen

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoAdd pmgen slices and choices
Clifford Wolf [Fri, 23 Aug 2019 14:15:50 +0000 (16:15 +0200)]
Add pmgen slices and choices

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoMake macOS depenency clear
Miodrag Milanovic [Fri, 23 Aug 2019 08:37:50 +0000 (10:37 +0200)]
Make macOS depenency clear

5 years agoDo not propagate mem2reg attribute through to result
Eddie Hung [Thu, 22 Aug 2019 23:57:59 +0000 (16:57 -0700)]
Do not propagate mem2reg attribute through to result

5 years agoIn sat: 'x' in init attr should not override constant
Eddie Hung [Thu, 22 Aug 2019 23:42:19 +0000 (16:42 -0700)]
In sat: 'x' in init attr should not override constant

5 years agoRemove Xilinx test
Eddie Hung [Thu, 22 Aug 2019 23:18:07 +0000 (16:18 -0700)]
Remove Xilinx test

5 years agoActually, there might not be any harm in updating sigmap...
Eddie Hung [Fri, 21 Jun 2019 00:03:05 +0000 (17:03 -0700)]
Actually, there might not be any harm in updating sigmap...

5 years agoAdd comment as per @cliffordwolf
Eddie Hung [Thu, 20 Jun 2019 23:57:54 +0000 (16:57 -0700)]
Add comment as per @cliffordwolf

5 years agoAdd shregmap -tech xilinx test
Eddie Hung [Wed, 12 Jun 2019 15:34:06 +0000 (08:34 -0700)]
Add shregmap -tech xilinx test

5 years agoRevert "Try way that doesn't involve creating a new wire"
Eddie Hung [Tue, 11 Jun 2019 23:05:42 +0000 (16:05 -0700)]
Revert "Try way that doesn't involve creating a new wire"

This reverts commit 2f427acc9ed23c77e89386f4fbf53ac580bf0f0b.

5 years agoTry way that doesn't involve creating a new wire
Eddie Hung [Tue, 11 Jun 2019 22:48:20 +0000 (15:48 -0700)]
Try way that doesn't involve creating a new wire

5 years agoIf d_bit already in sigbit_chain_next, create extra wire
Eddie Hung [Mon, 10 Jun 2019 23:16:40 +0000 (16:16 -0700)]
If d_bit already in sigbit_chain_next, create extra wire

5 years agoSpelling
Eddie Hung [Thu, 22 Aug 2019 21:20:03 +0000 (14:20 -0700)]
Spelling

5 years agodo not require boost if pyosys is not used
Miodrag Milanovic [Thu, 22 Aug 2019 18:43:52 +0000 (20:43 +0200)]
do not require boost if pyosys is not used

5 years agorequire tcl-tk in Brewfile
Chris Shucksmith [Thu, 22 Aug 2019 15:37:40 +0000 (16:37 +0100)]
require tcl-tk in Brewfile

5 years agoMerge pull request #1322 from mmicko/pyosys_osx
Eddie Hung [Thu, 22 Aug 2019 18:53:27 +0000 (11:53 -0700)]
Merge pull request #1322 from mmicko/pyosys_osx

do not require boost if pyosys is not used

5 years agoAdd doc
Eddie Hung [Thu, 22 Aug 2019 18:52:24 +0000 (11:52 -0700)]
Add doc

5 years agodo not require boost if pyosys is not used
Miodrag Milanovic [Thu, 22 Aug 2019 18:43:52 +0000 (20:43 +0200)]
do not require boost if pyosys is not used

5 years agoMerge pull request #1319 from TeaEngineering/shuckc/brew-tcl-tk
Eddie Hung [Thu, 22 Aug 2019 18:32:44 +0000 (11:32 -0700)]
Merge pull request #1319 from TeaEngineering/shuckc/brew-tcl-tk

require tcl-tk in Brewfile

5 years agoAdd copyright
Eddie Hung [Thu, 22 Aug 2019 18:25:19 +0000 (11:25 -0700)]
Add copyright

5 years agoAdd CHANGELOG entry
Eddie Hung [Thu, 22 Aug 2019 18:22:53 +0000 (11:22 -0700)]
Add CHANGELOG entry

5 years agoRemove `shregmap -tech xilinx` additions
Eddie Hung [Thu, 22 Aug 2019 18:22:09 +0000 (11:22 -0700)]
Remove `shregmap -tech xilinx` additions

5 years agopmgen to also iterate over all module ports
Eddie Hung [Thu, 22 Aug 2019 18:15:16 +0000 (11:15 -0700)]
pmgen to also iterate over all module ports

5 years agoRemove output_bits
Eddie Hung [Thu, 22 Aug 2019 18:14:59 +0000 (11:14 -0700)]
Remove output_bits

5 years agoForgot to set ud_variable.minlen
Eddie Hung [Thu, 22 Aug 2019 18:02:17 +0000 (11:02 -0700)]
Forgot to set ud_variable.minlen

5 years agoDo not run xilinx_srl_pm in fixed loop
Eddie Hung [Thu, 22 Aug 2019 17:51:04 +0000 (10:51 -0700)]
Do not run xilinx_srl_pm in fixed loop

5 years agoMerge remote-tracking branch 'origin/master' into eddie/xilinx_srl
Eddie Hung [Thu, 22 Aug 2019 17:32:54 +0000 (10:32 -0700)]
Merge remote-tracking branch 'origin/master' into eddie/xilinx_srl

5 years agoMerge remote-tracking branch 'origin/master' into eddie/xilinx_srl
Eddie Hung [Thu, 22 Aug 2019 17:32:06 +0000 (10:32 -0700)]
Merge remote-tracking branch 'origin/master' into eddie/xilinx_srl

5 years agoMerge pull request #1317 from YosysHQ/eddie/opt_expr_shiftx
Eddie Hung [Thu, 22 Aug 2019 17:31:27 +0000 (10:31 -0700)]
Merge pull request #1317 from YosysHQ/eddie/opt_expr_shiftx

 opt_expr to trim A port of $shiftx/$shift

5 years agoBump year in copyright notice
Clifford Wolf [Thu, 22 Aug 2019 16:43:16 +0000 (18:43 +0200)]
Bump year in copyright notice

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoBump year in copyright notice
Clifford Wolf [Thu, 22 Aug 2019 16:43:16 +0000 (18:43 +0200)]
Bump year in copyright notice

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoFix missing newline at end of file
Clifford Wolf [Thu, 22 Aug 2019 16:09:37 +0000 (18:09 +0200)]
Fix missing newline at end of file

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoMerge pull request #1289 from mmicko/anlogic_fixes
Clifford Wolf [Thu, 22 Aug 2019 16:09:10 +0000 (18:09 +0200)]
Merge pull request #1289 from mmicko/anlogic_fixes

Anlogic fixes and optimization

5 years agoFix missing newline at end of file
Clifford Wolf [Thu, 22 Aug 2019 16:06:36 +0000 (18:06 +0200)]
Fix missing newline at end of file

Signed-off-by: Clifford Wolf <clifford@clifford.at>
5 years agoMerge pull request #1281 from mmicko/efinix
Clifford Wolf [Thu, 22 Aug 2019 16:06:02 +0000 (18:06 +0200)]
Merge pull request #1281 from mmicko/efinix

Initial support for Efinix Trion series FPGAs

5 years agoCopy-paste typo
Eddie Hung [Thu, 22 Aug 2019 15:43:44 +0000 (08:43 -0700)]
Copy-paste typo

5 years agorequire tcl-tk in Brewfile
Chris Shucksmith [Thu, 22 Aug 2019 15:37:40 +0000 (16:37 +0100)]
require tcl-tk in Brewfile

5 years agoRespect opt_expr -keepdc as per @cliffordwolf
Eddie Hung [Thu, 22 Aug 2019 15:37:27 +0000 (08:37 -0700)]
Respect opt_expr -keepdc as per @cliffordwolf

5 years agoHandle $shift and Y_WIDTH > 1 as per @cliffordwolf
Eddie Hung [Thu, 22 Aug 2019 15:22:23 +0000 (08:22 -0700)]
Handle $shift and Y_WIDTH > 1 as per @cliffordwolf

5 years agoAdd cover()
Eddie Hung [Thu, 22 Aug 2019 15:06:24 +0000 (08:06 -0700)]
Add cover()

5 years agoCanonical form
Eddie Hung [Thu, 22 Aug 2019 15:05:01 +0000 (08:05 -0700)]
Canonical form

5 years agoMerge pull request #1316 from YosysHQ/eddie/fix_mem2reg
Clifford Wolf [Thu, 22 Aug 2019 08:24:42 +0000 (10:24 +0200)]
Merge pull request #1316 from YosysHQ/eddie/fix_mem2reg

mem2reg to preserve user attributes and src

5 years agoAdd test
Eddie Hung [Thu, 22 Aug 2019 04:58:20 +0000 (21:58 -0700)]
Add test

5 years agoopt_expr to trim A port of $shiftx if Y_WIDTH == 1
Eddie Hung [Thu, 22 Aug 2019 02:18:05 +0000 (19:18 -0700)]
opt_expr to trim A port of $shiftx if Y_WIDTH == 1

5 years agoReuse var
Eddie Hung [Thu, 22 Aug 2019 02:18:40 +0000 (19:18 -0700)]
Reuse var

5 years agoRevert "Trim shiftx_width when upper bits are 1'bx"
Eddie Hung [Thu, 22 Aug 2019 02:18:27 +0000 (19:18 -0700)]
Revert "Trim shiftx_width when upper bits are 1'bx"

This reverts commit 7e7965ca7b3bbeb79cb70014da7bc48c08a74adb.

5 years agoopt_expr to trim A port of $shiftx if Y_WIDTH == 1
Eddie Hung [Thu, 22 Aug 2019 02:18:05 +0000 (19:18 -0700)]
opt_expr to trim A port of $shiftx if Y_WIDTH == 1

5 years agoTrim shiftx_width when upper bits are 1'bx
Eddie Hung [Thu, 22 Aug 2019 01:43:17 +0000 (18:43 -0700)]
Trim shiftx_width when upper bits are 1'bx

5 years agoAdd comment
Eddie Hung [Thu, 22 Aug 2019 00:36:38 +0000 (17:36 -0700)]
Add comment

5 years agoAdd variable length support to xilinx_srl
Eddie Hung [Thu, 22 Aug 2019 00:34:40 +0000 (17:34 -0700)]
Add variable length support to xilinx_srl

5 years agoRename pattern to fixed
Eddie Hung [Wed, 21 Aug 2019 22:46:58 +0000 (15:46 -0700)]
Rename pattern to fixed

5 years agoattribute -> attr
Eddie Hung [Wed, 21 Aug 2019 22:44:07 +0000 (15:44 -0700)]
attribute -> attr

5 years agoUse Cell::has_keep_attribute()
Eddie Hung [Wed, 21 Aug 2019 22:41:46 +0000 (15:41 -0700)]
Use Cell::has_keep_attribute()

5 years agoabc9 to perform new 'map_ffs' before 'map_luts'
Eddie Hung [Wed, 21 Aug 2019 22:37:55 +0000 (15:37 -0700)]
abc9 to perform new 'map_ffs' before 'map_luts'