FC2ブログ

[NEEK][audio]Icarus Verilogバッチ

Icarus Verilog用にバッチ作ってみた。

#!/bin/csh -f

#------------------------------
# auto make batch
#------------------------------
chmod 744 alt_mem_phy_defines.v
chmod 744 alt_mem_ddrx_define.iv
\cp -pr neek_audio/testbench/neek_audio_tb/simulation/submodules/alt_mem_phy_defines.v .
\cp -pr neek_audio/testbench/neek_audio_tb/simulation/submodules/alt_mem_ddrx_define.iv .

#------------------------------
# auto make batch
#------------------------------
echo "iverilog \\" > iverilog.iv
ls -lst neek_audio/simulation/submodules/*.v | sed 's/.* neek_audio/neek_audio/' | sed 's/$/ \\/' > iverilog.sub.v.list
ls -lst neek_audio/simulation/submodules/*.sv | sed 's/.* neek_audio/neek_audio/' | sed 's/$/ \\/' > iverilog.sub.sv.list
echo "neek_audio/testbench/neek_audio_tb/simulation/neek_audio_tb.v" > iverilog.tb
echo "vvp a.out" > iverilog.vvp
echo "gtkwave neek_audio_tb.vcd" > iverilog.gtk

cat iverilog.iv iverilog.sub.v.list iverilog.sub.sv.list iverilog.tb iverilog.vvp iverilog.gtk > go_iverilog

#------------------------------
# go sim
#------------------------------
chmod 744 go_iverilog
./go_iverilog | tee iverilog.log



バッチ実行するとエラーが。


neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1116: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1116: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1117: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1117: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1118: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1118: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1121: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1121: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1122: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1122: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1123: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1123: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1124: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:1124: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:2644: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:2644: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:2645: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:2645: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3485: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3485: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3486: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3486: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3487: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3487: error: invalid module item.
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3488: syntax error
neek_audio/simulation/submodules/neek_audio_ddrc_phy_alt_mem_phy.v:3488: error: invalid module item.
neek_audio/simulation/submodules/alt_mem_ddrx_sideband.v:349: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_tbp.v:474: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_tbp.v:2479: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_tbp.v:3432: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_rdata_path.v:448: warning: Anachronistic use of named begin/end to surround generate sche
mes.
neek_audio/simulation/submodules/alt_mem_ddrx_rdata_path.v:938: warning: Anachronistic use of named begin/end to surround generate sche
mes.
neek_audio/simulation/submodules/alt_mem_ddrx_rank_timer.v:1604: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_input_if.v:283: warning: Anachronistic use of named begin/end to surround generate scheme
s.
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:154: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:155: error: invalid module item.
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:155: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:155: error: Invalid module instantiation
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:155: error: Invalid module instantiation
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:159: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:165: error: invalid module item.
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:166: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:166: error: Invalid module instantiation
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:171: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:171: error: Invalid module instantiation
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:172: error: Invalid module instantiation
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:175: syntax error
neek_audio/simulation/submodules/alt_mem_ddrx_odt_gen.v:182: error: invalid module item.
neek_audio/simulation/submodules/alt_mem_ddrx_ecc_encoder.v:181: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_fifo.v:94: warning: Anachronistic use of named begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_ecc_decoder.v:224: warning: Anachronistic use of named begin/end to surround generate sch
emes.
neek_audio/simulation/submodules/alt_mem_ddrx_ecc_decoder.v:293: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_burst_gen.v:1427: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_cmd_gen.v:1952: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_controller.v:1815: warning: Anachronistic use of named begin/end to surround generate sch
emes.
neek_audio/simulation/submodules/alt_mem_ddrx_arbiter.v:492: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_arbiter.v:733: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_arbiter.v:903: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_arbiter.v:1001: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/alt_mem_ddrx_arbiter.v:1113: warning: Anachronistic use of begin/end to surround generate schemes.
neek_audio/simulation/submodules/i2c_master_byte_ctrl.v:71: Include file timescale.v not found
a.out: Unable to open input file.

GTKWave Analyzer v3.3.39 (w)1999-2012 BSI

Error opening .vcd file 'neek_audio_tb.vcd'.

スポンサーサイト



カレンダー
02 | 2013/03 | 04
- - - - - 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 - - - - - -
累積訪問者
現在の訪問者
現在の閲覧者数:
最新記事
最新トラックバック
最新コメント
月別アーカイブ
カテゴリ
プロフィール

bobgosso

Author:bobgosso
FPGAのブログへようこそ!

検索フォーム
RSSリンクの表示
リンク
ブロとも申請フォーム

この人とブロともになる

QRコード
QRコード