Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] a VHDL error "Operator"+"is not defined for s

Status
Not open for further replies.
A

ahmadagha23

Guest
a VHDL error

Hi;
I want to use some symbols as delay time for signal assignements. So I use the following lines for this purpose:

constant Tbuff : integer:=5;
constant Tcable : integer:=7;
begin
a <= b after Tbuff +Tcable;

but I receive these error messages when I compile them. Would you please help me to resolve this errors?

ERROR:"Operator "+" is not defined for such operands."
ERROR:"Time expression expected."


Regards
 

a VHDL error

You have to provide "a <= b after (Tbuff+Tcable) ns";

Change "ns" to what ever time scale unit
 

Re: a VHDL error

I did it but the following error message arised:

ERROR: "Keyword "when" expected"
 

a VHDL error

put up your complete code so that it will be clear at which line it is pointing?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top