Eddie Hung
|
58e512ab70
|
Add comment
|
2019-08-07 09:54:27 -07:00 |
Eddie Hung
|
f20acbc813
|
Revert "Add TODO"
This reverts commit 6068a6bf0d91e3ab9a5eaa33894a816f1560f99a.
|
2019-08-07 09:54:27 -07:00 |
Eddie Hung
|
789585a744
|
Add TODO
|
2019-08-07 09:54:27 -07:00 |
Eddie Hung
|
8a8c1d7857
|
Compute box_lookup just once
|
2019-08-07 09:54:27 -07:00 |
Clifford Wolf
|
e9a756aa7a
|
Merge pull request #1213 from YosysHQ/eddie/wreduce_add
wreduce/opt_expr: improve width reduction for $add and $sub cells
|
2019-08-07 14:27:35 +02:00 |
Clifford Wolf
|
338f6765eb
|
Tweak default gate costs, cleanup "stat -tech cmos"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-08-07 10:25:51 +02:00 |
Eddie Hung
|
ee7c970367
|
IdString::str().substr() -> IdString::substr()
|
2019-08-06 19:08:33 -07:00 |
Eddie Hung
|
234fcf1724
|
Fix typos
|
2019-08-06 19:07:45 -07:00 |
Eddie Hung
|
c11ad24fd7
|
Use std::stoi instead of atoi(<str>.c_str())
|
2019-08-06 16:45:48 -07:00 |
Eddie Hung
|
e38f40af5b
|
Use IdString::begins_with()
|
2019-08-06 16:42:25 -07:00 |
Eddie Hung
|
046e1a5214
|
Use State::S{0,1}
|
2019-08-06 16:22:47 -07:00 |
Eddie Hung
|
3486235338
|
Make liberal use of IdString.in()
|
2019-08-06 16:18:18 -07:00 |
Clifford Wolf
|
100c377451
|
Redesign of cell cost API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-08-07 01:12:14 +02:00 |
Eddie Hung
|
43081337fa
|
Cleanup opt_expr.cc
|
2019-08-06 16:04:21 -07:00 |
Eddie Hung
|
bfc7164af7
|
Move LSB-trimming functionality from wreduce to opt_expr
|
2019-08-06 15:25:50 -07:00 |
Eddie Hung
|
26cb3e7afc
|
Merge remote-tracking branch 'origin/master' into eddie/wreduce_add
|
2019-08-06 14:50:00 -07:00 |
Clifford Wolf
|
023086bd46
|
Add $_NMUX_, add "abc -g cmos", add proper cmos cell costs
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-08-06 04:47:55 +02:00 |
whitequark
|
44a9dcbbbf
|
Merge pull request #1242 from jfng/fix-proc_prune-partial
proc_prune: Promote partially redundant assignments.
|
2019-08-03 07:08:41 +00:00 |
Clifford Wolf
|
0917a5cf72
|
Merge pull request #1238 from mmicko/vsbuild_fix
Visual Studio build fix
|
2019-08-02 17:07:39 +02:00 |
Eddie Hung
|
c39b1a6fcf
|
Add comment about supporting $dffe in ice40_dsp
|
2019-08-01 15:13:18 -07:00 |
Eddie Hung
|
ed7540a46f
|
Pack P register properly
|
2019-08-01 15:10:43 -07:00 |
Eddie Hung
|
e19d33b003
|
Cope with sign extension in mul2dsp
|
2019-08-01 12:44:56 -07:00 |
Eddie Hung
|
ed303b07b7
|
Merge remote-tracking branch 'origin/master' into xc7dsp
|
2019-08-01 12:02:16 -07:00 |
Eddie Hung
|
c54a39069d
|
CO is sign extension only if signed multiplier
|
2019-08-01 10:00:49 -07:00 |
Eddie Hung
|
e3c39cc450
|
Fix typo
|
2019-08-01 10:00:01 -07:00 |
Miodrag Milanovic
|
28b7053a01
|
Fix formatting for msys2 mingw build using GetSize
|
2019-08-01 17:27:34 +02:00 |
Jean-François Nguyen
|
320bf2fde5
|
proc_prune: Promote partially redundant assignments.
|
2019-08-01 13:09:55 +02:00 |
Eddie Hung
|
e4a638c292
|
Restore old CO behaviour
|
2019-07-31 15:45:15 -07:00 |
Miodrag Milanovic
|
35d28de478
|
Visual Studio build fix
|
2019-07-31 09:10:24 +02:00 |
Eddie Hung
|
07e38d8d5c
|
Update test_autotb doc to reflect default value of zero
|
2019-07-26 12:37:30 -07:00 |
Eddie Hung
|
8cecad5059
|
Add doc for "test_autotb -seed" option
|
2019-07-26 12:26:54 -07:00 |
Eddie Hung
|
4c25d1a76f
|
Pop the CO bit from O
|
2019-07-26 10:27:30 -07:00 |
Eddie Hung
|
c1a05f4557
|
Allow adders/accumulators with 33 bits using CO output
|
2019-07-26 10:15:36 -07:00 |
Eddie Hung
|
79fd6edc5a
|
Eliminate warnings by sizing O correctly
|
2019-07-23 15:13:30 -07:00 |
Eddie Hung
|
a37574ccbf
|
Fix muxAB logic
|
2019-07-23 14:52:14 -07:00 |
Eddie Hung
|
0dd2a125f6
|
Remove debug print
|
2019-07-23 14:21:45 -07:00 |
Eddie Hung
|
dc0c853abe
|
Simplify and fix for MACs
|
2019-07-23 14:20:34 -07:00 |
Eddie Hung
|
4f11ff8ebd
|
Fix typo
|
2019-07-23 13:58:56 -07:00 |
Eddie Hung
|
33c984a044
|
Fix spacing
|
2019-07-22 16:37:13 -07:00 |
Eddie Hung
|
068617f094
|
Pack hi and lo registers separately
|
2019-07-22 16:12:57 -07:00 |
Eddie Hung
|
4d71ab384d
|
Rename according to vendor doc TN1295
|
2019-07-22 15:08:26 -07:00 |
Eddie Hung
|
304cefbbe2
|
Pack Y register
|
2019-07-22 15:05:16 -07:00 |
Eddie Hung
|
5a14b6e1f6
|
Pack adders not just accumulators
|
2019-07-22 13:01:49 -07:00 |
Clifford Wolf
|
c6d8692c97
|
Add "stat -tech cmos"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-07-20 15:06:28 +02:00 |
Eddie Hung
|
e0720a8018
|
Restore old ffY behaviour
|
2019-07-19 22:47:08 -07:00 |
Eddie Hung
|
f9d08a5e5e
|
Cleanup
|
2019-07-19 20:25:28 -07:00 |
Eddie Hung
|
09beeee38a
|
Try and fix again
|
2019-07-19 14:40:57 -07:00 |
Eddie Hung
|
e87916b7eb
|
Merge remote-tracking branch 'origin/eddie/wreduce_add' into ice40dsp
|
2019-07-19 14:03:34 -07:00 |
Eddie Hung
|
cb0fd05215
|
Do not access beyond bounds
|
2019-07-19 13:58:50 -07:00 |
Eddie Hung
|
3a87dc3524
|
Wrap A and B in sigmap
|
2019-07-19 13:23:07 -07:00 |
Eddie Hung
|
31b0002e8c
|
Remove "top" from message
|
2019-07-19 13:20:45 -07:00 |
Eddie Hung
|
8791e0caac
|
Merge remote-tracking branch 'origin/eddie/wreduce_add' into ice40dsp
|
2019-07-19 13:18:20 -07:00 |
Eddie Hung
|
bcd8027182
|
Also optimise MSB of $sub
|
2019-07-19 13:11:48 -07:00 |
Eddie Hung
|
fc0e36d1c0
|
wreduce for $sub
|
2019-07-19 12:50:21 -07:00 |
Eddie Hung
|
9ad11ea2cc
|
Fine tune ice40_dsp.pmg, add support for packing subsets of registers
|
2019-07-19 10:57:32 -07:00 |
Eddie Hung
|
8f0e796be1
|
Add support for ice40 signed multipliers
|
2019-07-19 10:38:13 -07:00 |
Eddie Hung
|
42e40dbd0a
|
Merge remote-tracking branch 'origin/master' into ice40dsp
|
2019-07-18 15:45:25 -07:00 |
Eddie Hung
|
09411dd996
|
ice40_dsp to accept $__MUL16X16 too
|
2019-07-18 15:38:28 -07:00 |
Eddie Hung
|
802470746c
|
Check if RHS is empty first
|
2019-07-18 15:22:00 -07:00 |
Eddie Hung
|
90ac147eb2
|
Do not autoremove ffP aor muxP
|
2019-07-18 15:02:41 -07:00 |
Eddie Hung
|
08fe63c61e
|
Improve pattern matcher to match subsets of $dffe? cells
|
2019-07-18 14:08:18 -07:00 |
Eddie Hung
|
79d63479ea
|
Improve A/B reg packing
|
2019-07-18 13:30:35 -07:00 |
Eddie Hung
|
e075f0dda0
|
Do not autoremove A/B registers since they might have other consumers
|
2019-07-18 13:22:22 -07:00 |
Eddie Hung
|
0727b2c902
|
Fix xilinx_dsp index cast
|
2019-07-18 13:18:04 -07:00 |
Eddie Hung
|
c76607b9bc
|
Wrong wildcard symbol
|
2019-07-18 08:14:58 -07:00 |
Eddie Hung
|
91629ee4b3
|
Pattern matcher to check pool of bits, not exactly
|
2019-07-17 12:45:25 -07:00 |
Eddie Hung
|
3f677fb0db
|
Signed extension
|
2019-07-16 15:54:07 -07:00 |
Eddie Hung
|
9616dbd125
|
Add support {A,B,P}REG packing
|
2019-07-16 14:06:32 -07:00 |
Eddie Hung
|
5939b5d636
|
Merge pull request #1188 from YosysHQ/eddie/abc9_push_inverters
abc9: push inverters driving box inputs (comb outputs) through $lut soft logic
|
2019-07-16 08:53:47 -07:00 |
Eddie Hung
|
ba8ccbdea8
|
Merge pull request #1186 from YosysHQ/eddie/abc9_ice40_fix
abc9/ice40: encapsulate SB_CARRY+SB_LUT4 into one box
|
2019-07-16 08:52:14 -07:00 |
Miodrag Milanovic
|
2b469e82a7
|
Fix check logic in extract_fa
|
2019-07-16 10:35:18 +02:00 |
Eddie Hung
|
5f00d335d4
|
Oops forgot these files
|
2019-07-15 15:03:15 -07:00 |
Eddie Hung
|
dd59375a66
|
Add xilinx_dsp for register packing
|
2019-07-15 14:46:31 -07:00 |
Clifford Wolf
|
2a7198db51
|
Merge pull request #1189 from YosysHQ/eddie/fix1151
Error out if enable > dbits in memory_bram file
|
2019-07-15 20:06:35 +02:00 |
Clifford Wolf
|
2c5c53e4c1
|
Merge pull request #1190 from YosysHQ/eddie/fix_1099
extract_fa to return nothing more gracefully
|
2019-07-15 20:05:56 +02:00 |
whitequark
|
2de7e92bb8
|
opt_lut: make less chatty.
|
2019-07-13 16:49:56 +00:00 |
Eddie Hung
|
9b91d815b5
|
If ConstEval fails do not log_abort() but return gracefully
|
2019-07-13 04:13:57 -07:00 |
Eddie Hung
|
ab3917d079
|
Error out if enable > dbits
|
2019-07-13 03:39:23 -07:00 |
Eddie Hung
|
fb062c3426
|
Add comment
|
2019-07-13 00:52:21 -07:00 |
Eddie Hung
|
e9bdc86c0e
|
duplicate -> clone
|
2019-07-12 19:33:02 -07:00 |
Eddie Hung
|
be0cb7f4b8
|
More cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
7d583f9e57
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
83f23a24a8
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
1adbfb5533
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
39a7c7c54c
|
More cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
91c07be196
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
399e1ec870
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
58dbb28fd3
|
Cleanup
|
2019-07-12 19:30:18 -07:00 |
Eddie Hung
|
7dc15bdd2d
|
Do not double count cells in abc
|
2019-07-12 08:22:26 -07:00 |
Eddie Hung
|
c0abd18799
|
Enable &mfs for abc9, even if it only currently works for ice40
|
2019-07-11 08:49:06 -07:00 |
Clifford Wolf
|
fd3d5cefad
|
Merge pull request #1179 from whitequark/attrmap-proc
attrmap: also consider process, switch and case attributes
|
2019-07-11 07:23:28 +02:00 |
whitequark
|
ea447220da
|
attrmap: also consider process, switch and case attributes.
|
2019-07-10 12:30:53 +00:00 |
Clifford Wolf
|
c66b4b9131
|
Merge pull request #1177 from YosysHQ/clifford/async
Fix clk2fflogic adff reset semantic to negative hold time on reset
|
2019-07-10 08:48:20 +02:00 |
Clifford Wolf
|
cae26bf330
|
Merge pull request #1174 from YosysHQ/eddie/fix1173
Increment _TECHMAP_BITS_CONNMAP_ by one since counting from zero
|
2019-07-09 22:59:51 +02:00 |
Clifford Wolf
|
9546ccdbd3
|
Fix tests/various/async FFL test
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
2019-07-09 22:44:39 +02:00 |
Eddie Hung
|
c2db70f41e
|
Increment _TECHMAP_BITS_CONNMAP_ by one since counting from zero
|
2019-07-09 12:14:00 -07:00 |
Eddie Hung
|
713337255e
|
Revert "Add "synth -keepdc" option"
|
2019-07-09 10:14:23 -07:00 |
Clifford Wolf
|
e95ce1f7af
|
Merge pull request #1168 from whitequark/bugpoint-processes
Add support for processes in bugpoint
|
2019-07-09 16:59:43 +02:00 |
Clifford Wolf
|
a0787c12f0
|
Merge pull request #1169 from whitequark/more-proc-cleanups
A new proc_prune pass
|
2019-07-09 16:59:18 +02:00 |
Clifford Wolf
|
38e942507e
|
Merge pull request #1163 from whitequark/more-case-attrs
More support for case rule attributes
|
2019-07-09 16:57:16 +02:00 |