The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> VHDL-AMS >> Warning signal with smash https://designers-guide.org/forum/YaBB.pl?num=1215166480 Message started by Lucas67 on Jul 4th, 2008, 3:14am |
Title: Warning signal with smash Post by Lucas67 on Jul 4th, 2008, 3:14am Hello, I begin in VHDL-AMS and I try to use the software SMASH. I wrote a little program. When I compil it, I have one warning : "WARNING: signal 'COUPLE' is not driven by any gate or process output." What is the matter ? This is my program : >>> VHDL library IEEE; use IEEE.math_real.all; use IEEE.mechanical_systems.all; use IEEE.std_logic_1164.all; ENTITY car IS GENERIC (M:mass:=1500.0); PORT (SIGNAL couple : IN REAL); END ENTITY; ARCHITECTURE behav OF car IS CONSTANT roue: real:=0.2; QUANTITY acc : acceleration ; QUANTITY vitesse : velocity ; BEGIN acc == couple/(M*roue); vitesse'dot == acc; END ARCHITECTURE behav; ENTITY TB IS END; use WORK.ALL; ARCHITECTURE One OF TB IS SIGNAL couple : real ; BEGIN voituretest : ENTITY car (behav) PORT MAP (couple); couple <= 50.0; END ARCHITECTURE One; |
Title: Re: Warning signal with smash Post by alinalin19832007 on Jul 13th, 2008, 12:46pm hi I think u have to put the signal couple in a process in TB |
Title: Re: Warning signal with smash Post by Lucas67 on Sep 16th, 2008, 12:30am You're right. the signal couple is in a process in TB. I changed that and the warning disappear. Thank you very much for your help. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |