More dicking with yosys cmd for tb_cxxrtl;
Removing the prep pass as suggested leads to invalid VCD net names. Adding a opt_clean (+ prerequisites) fixes that. Adding splitnets -driver afterward wins back the performance lost by that last addition. Can you tell I don't know what I'm doing
This commit is contained in:
		
							parent
							
								
									12bf9bb570
								
							
						
					
					
						commit
						c56c75e14b
					
				| 
						 | 
					@ -22,7 +22,7 @@ SYNTH_CMD += chparam -set RESET_VECTOR $(CPU_RESET_VECTOR) $(TOP);
 | 
				
			||||||
SYNTH_CMD += chparam -set REDUCED_BYPASS $(REDUCED_BYPASS) $(TOP);
 | 
					SYNTH_CMD += chparam -set REDUCED_BYPASS $(REDUCED_BYPASS) $(TOP);
 | 
				
			||||||
SYNTH_CMD += chparam -set MULDIV_UNROLL $(MULDIV_UNROLL) $(TOP);
 | 
					SYNTH_CMD += chparam -set MULDIV_UNROLL $(MULDIV_UNROLL) $(TOP);
 | 
				
			||||||
SYNTH_CMD += chparam -set MUL_FAST $(MUL_FAST) $(TOP);
 | 
					SYNTH_CMD += chparam -set MUL_FAST $(MUL_FAST) $(TOP);
 | 
				
			||||||
SYNTH_CMD += prep -flatten -top $(TOP); async2sync;
 | 
					SYNTH_CMD += hierarchy -top $(TOP); proc; opt_clean;
 | 
				
			||||||
SYNTH_CMD += splitnets -driver;
 | 
					SYNTH_CMD += splitnets -driver;
 | 
				
			||||||
SYNTH_CMD += write_cxxrtl dut.cpp
 | 
					SYNTH_CMD += write_cxxrtl dut.cpp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue