|
Limbo
|
Base class for verilog database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined. More...
#include <VerilogDataBase.h>
Public Member Functions | |
| virtual void | verilog_module_declaration_cbk (std::string const &module_name, std::vector< 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< NetPin > const &vNetPin)=0 |
| read an instance. More... | |
| virtual void | verilog_net_declare_cbk (std::string const &net_name, Range const &range)=0 |
| read an net declaration More... | |
| virtual void | verilog_pin_declare_cbk (std::string const &pin_name, unsigned type, Range const &range)=0 |
| read an pin declaration More... | |
| virtual void | verilog_assignment_cbk (std::string const &target_name, Range const &target_range, std::string const &source_name, Range const &source_range) |
| read an assignment More... | |
Protected Member Functions | |
| void | verilog_user_cbk_reminder (const char *str) const |
| remind users to define some optional callback functions at runtime More... | |
Base class for verilog database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined.
Definition at line 211 of file VerilogDataBase.h.
|
virtual |
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 in VerilogDataBase.
|
pure virtual |
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 |
Implemented in VerilogDataBase.
|
virtual |
read a module declaration
module NOR2_X1 ( a, b, c );
| module_name | name of a module |
| vPinName | array of pins |
Reimplemented in VerilogDataBase.
|
pure virtual |
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 |
Implemented in VerilogDataBase.
|
pure virtual |
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 |
Implemented in VerilogDataBase.
|
protected |
remind users to define some optional callback functions at runtime
| str | message including the information to the callback function in the reminder |
1.8.8