Limbo
|
Custom class that inheritates VerilogParser::VerilogDataBase with all the required callbacks defined. More...
Public Member Functions | |
VerilogDataBase () | |
constructor | |
virtual void | verilog_module_declaration_cbk (std::string const &module_name, std::vector< VerilogParser::GeneralName > const &vPinName) |
read a module declaration More... | |
virtual void | verilog_instance_cbk (std::string const ¯o_name, std::string const &inst_name, std::vector< VerilogParser::NetPin > const &vNetPin) |
read an instance. More... | |
virtual void | verilog_net_declare_cbk (std::string const &net_name, VerilogParser::Range const &range) |
read an net declaration More... | |
virtual void | verilog_pin_declare_cbk (std::string const &pin_name, unsigned type, VerilogParser::Range const &range) |
read an pin declaration More... | |
virtual void | verilog_assignment_cbk (std::string const &target_name, VerilogParser::Range const &target_range, std::string const &source_name, VerilogParser::Range const &source_range) |
read an assignment More... | |
Additional Inherited Members | |
![]() | |
void | verilog_user_cbk_reminder (const char *str) const |
remind users to define some optional callback functions at runtime More... | |
Custom class that inheritates VerilogParser::VerilogDataBase with all the required callbacks defined.
Definition at line 20 of file test_bison.cpp.
|
inlinevirtual |
read an assignment
assign exu_mmu_early_va_e[0] = exu_mmu_early_va_e[0];
target_name | name of left hand side |
target_range | range of left hand side, negative infinity if either low or high value of the range is not defined |
source_name | name of right hand side |
source_range | range of right hand side, negative infinity if either low or high value of the range is not defined |
Reimplemented from VerilogParser::VerilogDataBase.
Definition at line 105 of file test_bison.cpp.
|
inlinevirtual |
read an instance.
NOR2_X1 u2 ( .a(n1), .b(n3), .o(n2) ); NOR2_X1 u2 ( .a(n1), .b({n3, n4}), .o(n2) ); NOR2_X1 u2 ( .a(n1), .b(1'b0), .o(n2) );
macro_name | standard cell type or module name |
inst_name | instance name |
vNetPin | array of pairs of net and pin |
Implements VerilogParser::VerilogDataBase.
Definition at line 51 of file test_bison.cpp.
|
inlinevirtual |
read a module declaration
required callbacks from abstract VerilogParser::VerilogDataBase /////////////////// module NOR2_X1 ( a, b, c );
module_name | name of a module |
vPinName | array of pins |
Reimplemented from VerilogParser::VerilogDataBase.
Definition at line 35 of file test_bison.cpp.
|
inlinevirtual |
read an net declaration
wire aaa[1];
net_name | net name |
range | net range, negative infinity if either low or high value of the range is not defined |
Implements VerilogParser::VerilogDataBase.
Definition at line 82 of file test_bison.cpp.
|
inlinevirtual |
read an pin declaration
input inp2;
pin_name | pin name |
type | type of pin, refer to VerilogParser::PinType |
range | pin range, negative infinity if either low or high value of the range is not defined |
Implements VerilogParser::VerilogDataBase.
Definition at line 93 of file test_bison.cpp.