@@ -347,7 +347,7 @@ void emit_elaborated_extmodules(RTLIL::Design *design, std::ostream &f)
347
347
auto modInstance = design->module (cell->type );
348
348
// Ensure that we actually have a module instance
349
349
if (modInstance == nullptr ) {
350
- log_error (" Unknown cell type %s\n " , cell->type . c_str () );
350
+ log_error (" Unknown cell type %s\n " , cell->type );
351
351
return ;
352
352
}
353
353
@@ -505,14 +505,14 @@ struct FirrtlWorker
505
505
sinkExpr = firstName;
506
506
break ;
507
507
default :
508
- log_error (" Instance port %s.%s unrecognized connection direction 0x%x !\n " , cell_type. c_str () , log_signal (it->second ), dir);
508
+ log_error (" Instance port %s.%s unrecognized connection direction 0x%x !\n " , cell_type, log_signal (it->second ), dir);
509
509
break ;
510
510
}
511
511
// Check for subfield assignment.
512
512
std::string bitsString = " bits(" ;
513
513
if (sinkExpr.compare (0 , bitsString.length (), bitsString) == 0 ) {
514
514
if (sinkSig == nullptr )
515
- log_error (" Unknown subfield %s.%s\n " , cell_type. c_str () , sinkExpr. c_str () );
515
+ log_error (" Unknown subfield %s.%s\n " , cell_type, sinkExpr);
516
516
// Don't generate the assignment here.
517
517
// Add the source and sink to the "reverse_wire_map" and we'll output the assignment
518
518
// as part of the coalesced subfield assignments for this wire.
0 commit comments