- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Please some help with this code, I dont know where is the problem, is giving me these errors:
Error: Node instance "TLong" instantiates undefined entity "OneShot" Error: Node instance "TShort" instantiates undefined entity "OneShot" here is the code... library ieee; use ieee.std_logic_1164.all; use IEEE.STD_LOGIC_UNSIGNED.ALL; entity TimerCircuits is port (LongTrig, ShortTrig, Clk: in std_logic; TS,TL : buffer std_logic); end entity TimerCircuits; architecture TimerBehavior of TimerCircuits is component OneShot is port (enable, Clk : in std_logic; Duration : in integer range 0 to 25 ; QOut : buffer std_logic ); end component OneShot; signal SetCountLong, SetCountShort: integer range 0 to 25; begin SetCountLong <= 25; SetCountShort <=4; TLong:OneShot port map (enable=>LongTrig, Clk=>Clk, Duration=>SetCountLong, QOut=>TL); TShort:OneShot port map (enable=>ShortTrig, Clk=>Clk, Duration=>SetCountShort, QOut=>TS); end architecture TimerBehavior;コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Perhaps a stupid question:
do you have a "OneShot.vhd" - File? I get the same Error if I remove the VHDL-File for a component from my project-folder.- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
The error indicates you havent included the oneshot.vhd file
