- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have Quartus v11.1 Build 216 and generate NCO by his Wizard, generating include Simulation Model and Netlist. Then i try simulate this in Altera ModelSim and NCO not working. I use original TB generated by wizard and NCOout make only "U" I expected sine wave, not U. Where I made mistake?
Thanks for any help.コピーされたリンク
8 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
initialize all signals, e.g.:
signal reset_n : std_logic := '0';
signal sin_val : std_logic_vector (MPR-1 downto 0) := (others => '0');
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
--- Quote Start --- initialize all signals, e.g.:
signal reset_n : std_logic := '0';
signal sin_val : std_logic_vector (MPR-1 downto 0) := (others => '0');
--- Quote End --- I paste this lines into my TB. It initialize zero value but NCO still not working. Initialize in attach.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
You have to do this for ALL signals. But anyway, I believe the problem is somewhere in other place.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
yes, initialization do only the "0" from the "U", but not from NCO sinusoidal wave
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
There may be other problems, too, but setting reset_n to '0' will keep the NCO in reset. You should only pulse it low.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
We have right, the problem was some other. I forgot attach source file generated from BDF in NativeLink settings.
I overlooked ModelSim's Warning: (vsim-3473), that is already described here. thx for help