[coding,icarus]How do I get an attribute value attached to a

J

Johann Klammer

Guest
I'd like to grok snippets like these:
(1)
STM32F030K6 X1(.BOOT0(boot0));
$attribute (X1, "pcba_refdes", "K3");
(2)
(*pcba_refdes="K3"*)
STM32F030K6 X1(.BOOT0(boot0));

I was trying to get the scope attributes via the ivl_scope_attr_cnt
and ivl_scope_attr_val functions. I only get the internal attributes(defined inside the scope)
I believe I need to use another function. But which one?
there's:

ivl_target.h has:

ivl_logic_attr..
ivl_scope_attr..
ivl_signal_attr..
ivl_process_attr..

which one's the one...?
maybe none.. the datatypes do not seem to match ....
 

Welcome to EDABoard.com

Sponsor

Back
Top