|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 jack6769 于 2013-3-30 16:47 编辑
以下是我有疑問的code片段(標上藍色)
always @(sort_loSort_merge_loMerge_comp_0_a1, sort_loSort_merge_loMerge_comp_0_a2) begin: ARRAY8SORTER_SORT_LOSORT_MERGE_LOMERGE_COMP_0_LOGIC
sort_loSort_merge_loMerge_loMerge_feed_a <= sort_loSort_merge_loMerge_comp_0_a1;
sort_loSort_merge_loMerge_hiMerge_feed_a <= sort_loSort_merge_loMerge_comp_0_a2;
if ((1 == (sort_loSort_merge_loMerge_comp_0_a1 > sort_loSort_merge_loMerge_comp_0_a2))) begin
sort_loSort_merge_loMerge_loMerge_feed_a <= sort_loSort_merge_loMerge_comp_0_a2;
sort_loSort_merge_loMerge_hiMerge_feed_a <= sort_loSort_merge_loMerge_comp_0_a1;
end
end
這段code在編譯的過程是沒有錯誤的,只是好奇為什麼這裡的begin後面可以加一個冒號,這個冒號又代表什麼意思?
是把後面這一整段命名成ARRAY8SORTER_SORT_LOSORT_MERGE_LOMERGE_COMP_0_LOGIC ? |
|