Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								eae5a6b12c 
								
							 
						 
						
							
							
								
								Use ID::keep more liberally too  
							
							
							
						 
						
							2019-08-15 14:51:12 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								52355f5185 
								
							 
						 
						
							
							
								
								Use more ID::{A,B,Y,blackbox,whitebox}  
							
							
							
						 
						
							2019-08-15 14:50:10 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clifford Wolf 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								49301b733e 
								
							 
						 
						
							
							
								
								Merge branch 'master' into clifford/fix1255  
							
							
							
						 
						
							2019-08-15 22:44:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								02dead2e60 
								
							 
						 
						
							
							
								
								ID(\\.*) -> ID(.*)  
							
							
							
						 
						
							2019-08-15 10:25:54 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								78ba8b8574 
								
							 
						 
						
							
							
								
								Transform all "\\*" identifiers into ID()  
							
							
							
						 
						
							2019-08-15 10:19:29 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								9f98241010 
								
							 
						 
						
							
							
								
								Transform "$.*" to ID("$.*") in passes/techmap  
							
							
							
						 
						
							2019-08-15 10:05:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								4cfefae21e 
								
							 
						 
						
							
							
								
								More use of IdString::in()  
							
							
							
						 
						
							2019-08-15 09:23:57 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								1551e14d2d 
								
							 
						 
						
							
							
								
								AND with an inverted input, causes X{,N}OR output to be inverted too  
							
							
							
						 
						
							2019-08-14 16:26:24 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								1e47e81869 
								
							 
						 
						
							
							
								
								Revert "Only sort leaves on non-ANDNOT/ORNOT cells"  
							
							... 
							
							
							
							This reverts commit 5ec5f6dec7 
							
						 
						
							2019-08-14 15:23:25 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								5ec5f6dec7 
								
							 
						 
						
							
							
								
								Only sort leaves on non-ANDNOT/ORNOT cells  
							
							
							
						 
						
							2019-08-14 11:25:56 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0e128510c0 
								
							 
						 
						
							
							
								
								Revert "Since $_ANDNOT_ is not symmetric, do not sort leaves"  
							
							
							
						 
						
							2019-08-14 10:40:53 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcin Kościelnicki 
								
							 
						 
						
							
							
							
							
								
							
							
								3c75a72feb 
								
							 
						 
						
							
							
								
								move attributes to wires  
							
							
							
						 
						
							2019-08-13 19:36:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clifford Wolf 
								
							 
						 
						
							
							
							
							
								
							
							
								0c5db07cd6 
								
							 
						 
						
							
							
								
								Fix various NDEBUG compiler warnings,  closes   #1255  
							
							... 
							
							
							
							Signed-off-by: Clifford Wolf <clifford@clifford.at> 
							
						 
						
							2019-08-13 13:29:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcin Kościelnicki 
								
							 
						 
						
							
							
							
							
								
							
							
								c6d5b97b98 
								
							 
						 
						
							
							
								
								review fixes  
							
							
							
						 
						
							2019-08-13 00:35:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcin Kościelnicki 
								
							 
						 
						
							
							
							
							
								
							
							
								f4c62f33ac 
								
							 
						 
						
							
							
								
								Add clock buffer insertion pass, improve iopadmap.  
							
							... 
							
							
							
							A few new attributes are defined for use in cell libraries:
- iopad_external_pin: marks PAD cell's external-facing pin.  Pad
  insertion will be skipped for ports that are already connected
  to such a pin.
- clkbuf_sink: marks an input pin as a clock pin, requesting clock
  buffer insertion.
- clkbuf_driver: marks an output pin as a clock buffer output pin.
  Clock buffer insertion will be skipped for nets that are already
  driven by such a pin.
All three are module attributes that should be set to a comma-separeted
list of pin names.
Clock buffer insertion itself works as follows:
1. All cell ports, starting from bottom up, can be marked as clock sinks
   (requesting clock buffer insertion) or as clock buffer outputs.
2. If a wire in a given module is driven by a cell port that is a clock
   buffer output, it is in turn also considered a clock buffer output.
3. If an input port in a non-top module is connected to a clock sink in a
   contained cell, it is also in turn considered a clock sink.
4. If a wire in a module is driven by a non-clock-buffer cell, and is
   also connected to a clock sink port in a contained cell, a clock
   buffer is inserted in this module.
5. For the top module, a clock buffer is also inserted on input ports
   connected to clock sinks, optionally with a special kind of input
   PAD (such as IBUFG for Xilinx).
6. Clock buffer insertion on a given wire is skipped if the clkbuf_inhibit
   attribute is set on it. 
							
						 
						
							2019-08-13 00:16:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								e4a0971581 
								
							 
						 
						
							
							
								
								Since $_ANDNOT_ is not symmetric, do not sort leaves  
							
							
							
						 
						
							2019-08-12 11:17:15 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clifford Wolf 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f54bf1631f 
								
							 
						 
						
							
							
								
								Merge pull request  #1258  from YosysHQ/eddie/cleanup  
							
							... 
							
							
							
							Cleanup a few barnacles across codebase 
							
						 
						
							2019-08-10 09:52:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clifford Wolf 
								
							 
						 
						
							
							
							
							
								
							
							
								6d0be8d206 
								
							 
						 
						
							
							
								
								Disable NMUX, AOI3, OAI3, AOI4, OAI4 in ABC default gate lib, add "abc -g all",  fixes   #1273  
							
							... 
							
							
							
							Signed-off-by: Clifford Wolf <clifford@clifford.at> 
							
						 
						
							2019-08-09 19:17:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								6d77236f38 
								
							 
						 
						
							
							
								
								substr() -> compare()  
							
							
							
						 
						
							2019-08-07 12:20:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								7164996921 
								
							 
						 
						
							
							
								
								RTLIL::S{0,1} -> State::S{0,1}  
							
							
							
						 
						
							2019-08-07 11:12:38 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								e6d5147214 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/master' into eddie/cleanup  
							
							
							
						 
						
							2019-08-07 11:11:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								48d0f99406 
								
							 
						 
						
							
							
								
								stoi -> atoi  
							
							
							
						 
						
							2019-08-07 11:09:17 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Hung 
								
							 
						 
						
							
							
							
							
								
							
							
								c11ad24fd7 
								
							 
						 
						
							
							
								
								Use std::stoi instead of atoi(<str>.c_str())  
							
							
							
						 
						
							2019-08-06 16:45:48 -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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clifford Wolf 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0917a5cf72 
								
							 
						 
						
							
							
								
								Merge pull request  #1238  from mmicko/vsbuild_fix  
							
							... 
							
							
							
							Visual Studio build fix 
							
						 
						
							2019-08-02 17:07:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miodrag Milanovic 
								
							 
						 
						
							
							
							
							
								
							
							
								28b7053a01 
								
							 
						 
						
							
							
								
								Fix formatting for msys2 mingw build using GetSize  
							
							
							
						 
						
							2019-08-01 17:27:34 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miodrag Milanovic 
								
							 
						 
						
							
							
							
							
								
							
							
								35d28de478 
								
							 
						 
						
							
							
								
								Visual Studio build fix  
							
							
							
						 
						
							2019-07-31 09:10:24 +02: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 
								
							 
						 
						
							
							
							
							
								
							
							
								9b91d815b5 
								
							 
						 
						
							
							
								
								If ConstEval fails do not log_abort() but return gracefully  
							
							
							
						 
						
							2019-07-13 04:13:57 -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 
								
							 
						 
						
							
							
							
							
								
							
							
								237d8651a5 
								
							 
						 
						
							
							
								
								Error out if abc9 not called with -lut or -luts  
							
							
							
						 
						
							2019-07-11 09:58:00 -07:00