i'm using ghdl for linux and haven't been able to get the "and" or "or" operators to work.
sample code:
when compiling i get the error
learn.vhdl:9:15: no function declarations for operator "and"
learn.vhdl:10:16: no function declarations for operator "and"
any ideas?
or maybe you could suggest another vhdl simulator for linux?
sample code:
entity and_gates is
port(A: in integer := 1; B:in integer := 1; D: in integer := 0; Eut bit);
end and_gates;
architecture gates of and_gates is
signal C: bit;
begin
C <= A and B;
E <= C and D;
end gates;
when compiling i get the error
learn.vhdl:9:15: no function declarations for operator "and"
learn.vhdl:10:16: no function declarations for operator "and"
any ideas?
or maybe you could suggest another vhdl simulator for linux?