- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I get a strange error message when I use this constant in a generic: whitelist => "ABCDEFGHIJKLMNOPQRSTUVWXYZ" & "abcdefghijklmnopqrstuvwxyz" & " 0123456789" & CR & LF Here's the error message: Error (10315): VHDL syntax error at utils.vhd(256): object with character type cannot contain character ' ' The error message points to the implementation of the component which uses the generic:entity char_filter is
generic (
whitelist : string
);
port (
char : in character;
char_ok : out std_logic
);
end char_filter;
It simulates fine with ModelSim Altera 11.1 and it works as soon as I remove the control characters from the literal. I'm using Quartus II WebEdition 11.1 Can anyone tell me what's going on here? Regards Aydan
Link Copied
0 Replies

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