M
magik
Guest
Hi
I'm using AHDL and I want to create some memory (16x1byte) into my
state_machine. Exactly I want to add some functions to my merory and that is
why I need state machine. How can I do that in graphic State Diagram?? I can
add variable or signal just by click a button with the icon Variable/Signal
but how can I add my own type?
In text file it would be like this:
------------
type ram_mem_type is array (15 downto 0) of std_logic_vector (7 downto 0);
signal ram16x1 : ram_mem_type;
------------
I've got about 40 states and I just don't want to get lost while writing
text file...
thans for any help!!
Paul
I'm using AHDL and I want to create some memory (16x1byte) into my
state_machine. Exactly I want to add some functions to my merory and that is
why I need state machine. How can I do that in graphic State Diagram?? I can
add variable or signal just by click a button with the icon Variable/Signal
but how can I add my own type?
In text file it would be like this:
------------
type ram_mem_type is array (15 downto 0) of std_logic_vector (7 downto 0);
signal ram16x1 : ram_mem_type;
------------
I've got about 40 states and I just don't want to get lost while writing
text file...
thans for any help!!
Paul