Altera_Forum
Honored Contributor
8 years ago"Create symbol file" changes "character" into "Enumerated", Modelsim does not accept
Hello,
I made a VDHL component:entity ent_ser_tx is
generic(
parity : character:='E'
); ...
It compiles in Quartus and Quartus made a symbol file out of it. Quartus changed the "character" datatype to the "enumerated" datatype when it generated the symbol file. Why,I do not know? Then I use the symbol file to instantiate the component in a BDF. The type enumerated is shown in the graphic parameter box in the BDF on top of the ser_tx component. In this box it is impossible to change the parameter type back to "character"; "Character" does not exist in the BDF selection box for the parameter types. Quartus does compile my project, but Modelsim will not. error: string literal found where non-array type std.standard.character was expected. Modelsim is right; Replacing "E" by 'E', in the VHDL I generated out of the BDF to make a Modelsim project, solves the issue. Question: Should I abandon using "character" parameters in VHDL components that are used in bdf or is there another solution? Thanks for a reaction, Johi.