mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 02:10:24 +00:00
Remove log_str()
functions and convert their log_signal()
users to return std::string
This is a small but easy step towards removing the `log_id_cache`. See issue #5210.
This commit is contained in:
parent
7b0c1fe491
commit
ec3f384dca
6 changed files with 28 additions and 39 deletions
|
@ -20,6 +20,7 @@
|
|||
#ifndef DRIVERTOOLS_H
|
||||
#define DRIVERTOOLS_H
|
||||
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "kernel/rtlil.h"
|
||||
|
@ -39,11 +40,11 @@ struct DriveChunk;
|
|||
|
||||
struct DriveSpec;
|
||||
|
||||
const char *log_signal(DriveChunkWire const &chunk);
|
||||
const char *log_signal(DriveChunkPort const &chunk);
|
||||
const char *log_signal(DriveChunkMarker const &chunk);
|
||||
const char *log_signal(DriveChunk const &chunk);
|
||||
const char *log_signal(DriveSpec const &chunk);
|
||||
std::string log_signal(DriveChunkWire const &chunk);
|
||||
std::string log_signal(DriveChunkPort const &chunk);
|
||||
std::string log_signal(DriveChunkMarker const &chunk);
|
||||
std::string log_signal(DriveChunk const &chunk);
|
||||
std::string log_signal(DriveSpec const &chunk);
|
||||
|
||||
enum class DriveType : unsigned char
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue