global signal

A

alessandro basili

Guest
Hi everyone, I am trying to use "global signal" in my project so that I
won't have to connect each hiearchical box with the others (they are
some tens). My idea was to have a package in which i may declare some
signals and then use them all around, assigning them just once but
reading the value from different places.
Is that correct? unfortunately compiling with synplify gives the
following warnings:

@W: CL158
:"E:\projects\AMS_02\sdr2\fe\fe_ver2.0\hdl\sc_registers.vhd":32:9:32:21|Inout
_work_sc_registers_register1 is unused

@W: CL158
:"E:\projects\AMS_02\sdr2\fe\fe_ver2.0\hdl\sc_registers.vhd":34:9:34:25|Inout
_work_sc_registers_register2 is unused

but I did use them!
Can anyone have an answer?
Thanks a lot

Al
 
Sorry to everyone, I just found out what was the problem. Actually there
where severals:
1) unused registers where only due to the fact that not all the
registers included in my package where used. When I called the library
work I select "all" of the components, so I think this is the reason
(correct me if I am wrong)
2) Apparently is not possible to have a vector that is partially
assigned in one block and the partially in another. When it synthesizes
the register it will always miss a part of it, getting to the point that
at the very end the full register is never assigned completely.

Are these conclusions correct?

Regards

Al

alessandro basili wrote:
Hi everyone, I am trying to use "global signal" in my project so that I
won't have to connect each hiearchical box with the others (they are
some tens). My idea was to have a package in which i may declare some
signals and then use them all around, assigning them just once but
reading the value from different places.
Is that correct? unfortunately compiling with synplify gives the
following warnings:

@W: CL158
:"E:\projects\AMS_02\sdr2\fe\fe_ver2.0\hdl\sc_registers.vhd":32:9:32:21|Inout
_work_sc_registers_register1 is unused

@W: CL158
:"E:\projects\AMS_02\sdr2\fe\fe_ver2.0\hdl\sc_registers.vhd":34:9:34:25|Inout
_work_sc_registers_register2 is unused

but I did use them!
Can anyone have an answer?
Thanks a lot

Al
 

Welcome to EDABoard.com

Sponsor

Back
Top