mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
Support shallow copy as far as the ivl_target API.
This commit is contained in:
+14
@@ -511,6 +511,20 @@ const netenum_t* NetESFunc::enumeration() const
|
||||
return enum_type_;
|
||||
}
|
||||
|
||||
NetEShallowCopy::NetEShallowCopy(NetExpr*arg1, NetExpr*arg2)
|
||||
: arg1_(arg1), arg2_(arg2)
|
||||
{
|
||||
}
|
||||
|
||||
NetEShallowCopy::~NetEShallowCopy()
|
||||
{
|
||||
}
|
||||
|
||||
ivl_variable_type_t NetEShallowCopy::expr_type() const
|
||||
{
|
||||
return arg1_->expr_type();
|
||||
}
|
||||
|
||||
NetEAccess::NetEAccess(NetBranch*br, ivl_nature_t nat)
|
||||
: branch_(br), nature_(nat)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user