@@ -274,7 +274,7 @@ void YYosys::execute() {
274
274
switch (configuration.input_file_type ) {
275
275
case (file_type_e::_VERILOG): // fallthrough
276
276
case (file_type_e::_VERILOG_HEADER): {
277
- run_pass (std::string (" read_verilog -sv -nolatches " + aggregated_circuits));
277
+ run_pass (std::string (" read_verilog -sv -nolatches " + aggregated_circuits));
278
278
break ;
279
279
}
280
280
case (file_type_e::_SYSTEM_VERILOG): {
@@ -293,12 +293,7 @@ void YYosys::execute() {
293
293
# else
294
294
run_pass (std::string (" read_verilog -sv -nolatches " + aggregated_circuits));
295
295
# endif
296
- /*
297
- * Check whether cells match libraries, find top module, and run the Yosys basic coarse-grained synthesis steps
298
- * such as proc: Translate processes to netlist components such as MUXs, FFs and latches
299
- * or fsm: Extraction and optimization of finite state machines
300
- * the option "-noalumacc" is to avoid Yosys transforms basic arithmetic operations into alu or macc
301
- */
296
+ // Check whether cells match libraries and find top module
302
297
if (global_args.top_level_module_name .provenance () == argparse::Provenance::SPECIFIED) {
303
298
run_pass (std::string (" hierarchy -check -top " + global_args.top_level_module_name .value () + " -purge_lib" ));
304
299
} else {
@@ -328,7 +323,6 @@ void YYosys::execute() {
328
323
*/
329
324
run_pass (std::string (" share; opt;" ));
330
325
331
-
332
326
// Use a readable name convention
333
327
// [NOTE]: the 'autoname' process has a high memory footprint for giant netlists
334
328
// we run it after basic optimization passes to reduce the overhead (see issue #2031)
@@ -353,7 +347,7 @@ void YYosys::execute() {
353
347
* initial implementation of Yosys+Odin-II, which did not use this pass
354
348
*/
355
349
run_pass (std::string (" techmap */t:$mem */t:$memrd */t:$add */t:$sub */t:$mul */t:$dffsr */t:$dffsre */t:$sr */t:$dlatch */t:$adlatch %% %n" ));
356
-
350
+
357
351
// Collects memories, their port and create multiport memory cells
358
352
run_pass (std::string (" memory_collect; memory_dff;" ));
359
353
/* *
@@ -374,7 +368,6 @@ void YYosys::execute() {
374
368
// Turn all DFFs into simple latches
375
369
run_pass (std::string (" dffunmap; opt -fast -noff;" ));
376
370
377
-
378
371
// Check the hierarchy for any unknown modules, and purge all modules (including blackboxes) that aren't used
379
372
run_pass (std::string (" hierarchy -check -purge_lib" ));
380
373
// "-undriven" to ensure there is no wire without drive
0 commit comments