Re: [數位] RTL code使用synthesis script
※ 引述《sasako (微笑待人)》之銘言:
: 推 bighead319:你是在做整個system整合嗎,不然怎麼會一次用到100多個 12/11 01:32
: 不是 做wimax的multi-rate decoder
: → bighead319:此外,那些*.v檔案不是可以直接include就好了 12/11 01:35
: 你的意思是說
: 我可以把所的*.v檔include在某個top.v裡面,
: 然後synthesis script只要引用top.v就行了???
我自己就是用這個方法,比如:
`include "...../adder/fa.v"
`include "...../adder/ha.v"
`include "...../common/reg.v"
...
這樣比較方便維護,
而且可以配合`ifdef等做程式碼的抽換
其實還蠻方便的
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.110.2
討論串 (同標題文章)