mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Add -no-rw-check option to memory_dff + memory + synth_{ice40,ecp5,gowin}.
This commit is contained in:
		
							parent
							
								
									3a0aa9c663
								
							
						
					
					
						commit
						71dfbf33b2
					
				
					 6 changed files with 87 additions and 14 deletions
				
			
		|  | @ -81,6 +81,11 @@ struct SynthPass : public ScriptPass | |||
| 		log("    -flowmap\n"); | ||||
| 		log("        use FlowMap LUT techmapping instead of ABC\n"); | ||||
| 		log("\n"); | ||||
| 		log("    -no-rw-check\n"); | ||||
| 		log("        marks all recognized read ports as \"return don't-care value on\n"); | ||||
| 		log("        read/write collision\" (same result as setting the no_rw_check\n"); | ||||
| 		log("        attribute on all memories).\n"); | ||||
| 		log("\n"); | ||||
| 		log("\n"); | ||||
| 		log("The following commands are executed by this synthesis command:\n"); | ||||
| 		help_script(); | ||||
|  | @ -175,6 +180,10 @@ struct SynthPass : public ScriptPass | |||
| 				flowmap = true; | ||||
| 				continue; | ||||
| 			} | ||||
| 			if (args[argidx] == "-no-rw-check") { | ||||
| 				memory_opts += " -no-rw-check"; | ||||
| 				continue; | ||||
| 			} | ||||
| 			break; | ||||
| 		} | ||||
| 		extra_args(args, argidx, design); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue