66 debug_level(_parameters->getOption<int>(OPT_debug_level))
74 unsigned int count = 0;
88 const technology_managerConstRef _TM,
144 for(
auto&
row : COPYING3_SHORT)
refcount< language_writer > language_writerRef
RefCount definition of the class.
void WriteFile(const std::string &filename) const
Write content to a file.
void WriteFile(const std::string &file_name)
Write the indented output on a file.
This class defines the methods to write VHDL descriptions.
exceptions managed by PandA
language_writer(char open_char, char close_char, const ParameterConstRef parameters)
Constructor.
static language_writerRef create_writer(HDLWriter_Language language, const technology_managerConstRef TM, const ParameterConstRef parameters)
Creates the specialization of the writer based on the desired language.
void WriteLicense()
Write the license.
Class to print indented code.
const IndentedOutputStreamRef indented_output_stream
Represents the stream we are currently writing to.
#define COPYING3_SHORT_MACRO
#define WENABLE_PORT_NAME
virtual void write(const std::string &rawString)
Writes a raw string into the stream.
const std::string WriteString() const
Dump the content of the write as a string.
const std::string WriteString()
Write the indented output on a string.
#define CLOCK_PORT_NAME
standard name for ports
Class for system verilog writing.
virtual void write_header()
Writes the header part of the file.
void Append(const std::string &str)
Append a string to the output.
This class writes different HDL based descriptions (VHDL, Verilog, SystemC) starting from a structura...
virtual ~language_writer()
Destructor.
#define THROW_ERROR(str_expr)
helper function used to throw an error in a standard way
CustomSet< std::string > GetHDLReservedNames() const
Return the names of auxiliary signals which will be used by backend.
This class describes all classes used to represent a structural object.
static unsigned int bitnumber(unsigned long long n)
Counts the number of bits in an unsigned int.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
It collects all the common strings covering PandA copyrights issues.
this class is used to manage the command-line or XML options.
Class to print indented code.
virtual void write_comment(const std::string &comment_string)=0
Prints a comment.
#define THROW_ASSERT(cond, str_expr)
helper function used to check an assert and if needed to throw an error in a standard way ...