Gast
#2895412
Hallo leute, ich versuche gerade mich in VHDL einzuarbeiten. Es sollte einen Code für einen 8-bit Multiplexer geschriben, das wäre dann kein Problem. Aber laut der AUfgabenstellung sollte für für die Auswahl des Quellsignales die Funktion conv_integer verwendet werden! Wenn ich den Code in GHDL mit diesen Befehl analysiere, kommen folgende Fehler Meldungen. ghdl -a --ieee=synopsys mux81_2.vhdl Hat jemand eine Idee, wo das Problem liegen könnte? PS: Ich habe hier im Forum gelesen, dass es besser die Funktion to_integer und die ieee.numeric_std benutzt werden sollen. mux81_2.vhdl:20:44: can't match function call with type std_ulogic mux81_2.vhdl:20:32: (location of function call) mux81_2.vhdl:21:44: can't match function call with type std_ulogic mux81_2.vhdl:21:32: (location of function call) mux81_2.vhdl:22:44: can't match function call with type std_ulogic mux81_2.vhdl:22:32: (location of function call) mux81_2.vhdl:23:44: can't match function call with type std_ulogic mux81_2.vhdl:23:32: (location of function call) mux81_2.vhdl:24:44: can't match function call with type std_ulogic mux81_2.vhdl:24:32: (location of function call) mux81_2.vhdl:25:44: can't match function call with type std_ulogic mux81_2.vhdl:25:32: (location of function call) mux81_2.vhdl:26:44: can't match function call with type std_ulogic mux81_2.vhdl:26:32: (location of function call) mux81_2.vhdl:27:44: can't match function call with type std_ulogic mux81_2.vhdl:27:32: (location of function call) /usr/lib/ghdl/bin/ghdl: compilation error
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |