A
Analog Guy
Guest
HI,
Our company standard is HDL Designer, and up to now, I have basically been
using blocks to hierarchically define my design.
I do see some instances where a component would be useful, especially where
a
piece of code is repeated alot. What is the proper way to use components?
Right
now, I created a component in HDL Designer, and it appears in my design
library
as a separate design unit.
First of all, is this ok, or should all components exist in a separate
library. Secondly,
should all components be placed in a package instead or just left on their
own as
separate design units?
In addition, for my testbench (my first one!), some other designers have
provided me
with models (SRAM) with full entities and architectures ... do I convert
these to components
or leave them as is? As well, I will be using SmartModels. For proper
design
management, how do I organize these? Do I create a package in a separate
library or just make
components out of everything?
My only problem with making components in HDL Designer, is that it seems to
only make a copy
of the source (stripping out the entity to make the component symbol).
Hence, it is keeping two
copies of the same code that are not related, i.e. if I make a change to the
code in the component
architecture, it is not reflected in the original source code (with entity
and architecture) and
vice-versa.
Sorry for be long winded ... I'm just a bit confused. Thanks for your
help.
Our company standard is HDL Designer, and up to now, I have basically been
using blocks to hierarchically define my design.
I do see some instances where a component would be useful, especially where
a
piece of code is repeated alot. What is the proper way to use components?
Right
now, I created a component in HDL Designer, and it appears in my design
library
as a separate design unit.
First of all, is this ok, or should all components exist in a separate
library. Secondly,
should all components be placed in a package instead or just left on their
own as
separate design units?
In addition, for my testbench (my first one!), some other designers have
provided me
with models (SRAM) with full entities and architectures ... do I convert
these to components
or leave them as is? As well, I will be using SmartModels. For proper
design
management, how do I organize these? Do I create a package in a separate
library or just make
components out of everything?
My only problem with making components in HDL Designer, is that it seems to
only make a copy
of the source (stripping out the entity to make the component symbol).
Hence, it is keeping two
copies of the same code that are not related, i.e. if I make a change to the
code in the component
architecture, it is not reflected in the original source code (with entity
and architecture) and
vice-versa.
Sorry for be long winded ... I'm just a bit confused. Thanks for your
help.