- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi my friends!
how to initialize this array:
type dataout is array (6 downto 0,11 downto 0) of std_logic_vector(7 downto 0);
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
that is not an array - it is a type declaration. You initialise the signal/variable/constant when you declare it.
constant some_array : dataout := (others => (others => (others =>'0'))); btw - dataout is a very poor name choice for a type. At least call it dataout_type or similar.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page