mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #2211 from YosysHQ/mwk/fix-fmcombine-ff
fmcombine: use the master ff cell type list
This commit is contained in:
		
						commit
						d3422f8a5e
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -114,8 +114,7 @@ struct FmcombineWorker | ||||||
| 					Cell *gold = import_prim_cell(cell, "_gold"); | 					Cell *gold = import_prim_cell(cell, "_gold"); | ||||||
| 					Cell *gate = import_prim_cell(cell, "_gate"); | 					Cell *gate = import_prim_cell(cell, "_gate"); | ||||||
| 					if (opts.initeq) { | 					if (opts.initeq) { | ||||||
| 						if (cell->type.in(ID($ff), ID($dff), ID($dffe), | 						if (RTLIL::builtin_ff_cell_types().count(cell->type)) { | ||||||
| 								ID($dffsr), ID($adff), ID($dlatch), ID($dlatchsr))) { |  | ||||||
| 							SigSpec gold_q = gold->getPort(ID::Q); | 							SigSpec gold_q = gold->getPort(ID::Q); | ||||||
| 							SigSpec gate_q = gate->getPort(ID::Q); | 							SigSpec gate_q = gate->getPort(ID::Q); | ||||||
| 							SigSpec en = module->Initstate(NEW_ID); | 							SigSpec en = module->Initstate(NEW_ID); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue