yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ast.h File Reference
#include "kernel/rtlil.h"
#include <stdint.h>
#include <set>
+ Include dependency graph for ast.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AST::AstNode
 
struct  AST::AstNode::varinfo_t
 
struct  AST::AstModule
 

Namespaces

 AST
 
 AST_INTERNAL
 

Enumerations

enum  AST::AstNodeType {
  AST::AST_NONE, AST::AST_DESIGN, AST::AST_MODULE, AST::AST_TASK,
  AST::AST_FUNCTION, AST::AST_DPI_FUNCTION, AST::AST_WIRE, AST::AST_MEMORY,
  AST::AST_AUTOWIRE, AST::AST_PARAMETER, AST::AST_LOCALPARAM, AST::AST_DEFPARAM,
  AST::AST_PARASET, AST::AST_ARGUMENT, AST::AST_RANGE, AST::AST_MULTIRANGE,
  AST::AST_CONSTANT, AST::AST_REALVALUE, AST::AST_CELLTYPE, AST::AST_IDENTIFIER,
  AST::AST_PREFIX, AST::AST_ASSERT, AST::AST_FCALL, AST::AST_TO_BITS,
  AST::AST_TO_SIGNED, AST::AST_TO_UNSIGNED, AST::AST_CONCAT, AST::AST_REPLICATE,
  AST::AST_BIT_NOT, AST::AST_BIT_AND, AST::AST_BIT_OR, AST::AST_BIT_XOR,
  AST::AST_BIT_XNOR, AST::AST_REDUCE_AND, AST::AST_REDUCE_OR, AST::AST_REDUCE_XOR,
  AST::AST_REDUCE_XNOR, AST::AST_REDUCE_BOOL, AST::AST_SHIFT_LEFT, AST::AST_SHIFT_RIGHT,
  AST::AST_SHIFT_SLEFT, AST::AST_SHIFT_SRIGHT, AST::AST_LT, AST::AST_LE,
  AST::AST_EQ, AST::AST_NE, AST::AST_EQX, AST::AST_NEX,
  AST::AST_GE, AST::AST_GT, AST::AST_ADD, AST::AST_SUB,
  AST::AST_MUL, AST::AST_DIV, AST::AST_MOD, AST::AST_POW,
  AST::AST_POS, AST::AST_NEG, AST::AST_LOGIC_AND, AST::AST_LOGIC_OR,
  AST::AST_LOGIC_NOT, AST::AST_TERNARY, AST::AST_MEMRD, AST::AST_MEMWR,
  AST::AST_TCALL, AST::AST_ASSIGN, AST::AST_CELL, AST::AST_PRIMITIVE,
  AST::AST_CELLARRAY, AST::AST_ALWAYS, AST::AST_INITIAL, AST::AST_BLOCK,
  AST::AST_ASSIGN_EQ, AST::AST_ASSIGN_LE, AST::AST_CASE, AST::AST_COND,
  AST::AST_DEFAULT, AST::AST_FOR, AST::AST_WHILE, AST::AST_REPEAT,
  AST::AST_GENVAR, AST::AST_GENFOR, AST::AST_GENIF, AST::AST_GENCASE,
  AST::AST_GENBLOCK, AST::AST_POSEDGE, AST::AST_NEGEDGE, AST::AST_EDGE
}
 

Functions

std::string AST::type2str (AstNodeType type)
 
void AST::process (RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump_ast2, bool dump_vlog, bool nolatches, bool nomem2reg, bool mem2reg, bool lib, bool noopt, bool icells, bool ignore_redef, bool defer, bool autowire)
 
void AST::use_internal_line_num ()
 
AstNode * AST::dpi_call (const std::string &rtype, const std::string &fname, const std::vector< std::string > &argtypes, const std::vector< AstNode * > &args)