VLSI-EDA / PoC

IP Core Library - Published and maintained by the Chair for VLSI Design, Diagnostics and Architecture, Faculty of Computer Science, Technische Universität Dresden, Germany
https://tu-dresden.de/ing/informatik/ti/vlsi
Other
538 stars 93 forks source link

What is the meaning of namespace and sub namespaces? #54

Closed cjchin closed 6 years ago

cjchin commented 6 years ago

In the IP core components documentation, there is usage of namespace and sub-namespaces.

What is the meaning of namespace and sub-namespaces, its usage and how do I conceptualize it in the overall infrastructure of the code?

I think all components simply belong to POC library.

Why not to associate namespace name with the usage of libraries, and Sub-Namespace as appended to the Namespace name for the Library?

For example; Namespace is POC so make library POC, and SubNamespace POC.Common, so make the library POCCommon.

Then at least the dependencies are more finely stated.

And then maybe one can also use context to wrap all sub-namespaces into the namespace.

Paebbels commented 6 years ago

Here is a peace of documentation hopefully covering your question: Naming Convertions

Please see my Gitter.im invitation or use https://gitter.im/paebbels.

We do not want to present dozens of VHDL librariers to the user. The user shall be able to use a concise API. It also allows us to reorganize entities and packages without creating backward compatibility problems.

cjchin commented 6 years ago

Got it, this item is closed for me. Thanks