entity MyEntity {
in a: std::Logical,
}
arch RTL for MyEntity {
AnotherComp {
a <= a, // this is the important line
}
}
we currently can directly name the port a from the entity.
But since it's not directly in the arch, we may consider to refer to it via self.a (a more rusty approach) or entity.a (my favorite)
Having an arch over an entity
we currently can directly name the port
a
from the entity. But since it's not directly in the arch, we may consider to refer to it viaself.a
(a more rusty approach) orentity.a
(my favorite)