Skip to content

Commit

Permalink
if-else选择器的图片添加缩放style
Browse files Browse the repository at this point in the history
  • Loading branch information
bi-an committed Jan 17, 2025
1 parent af68575 commit 000e901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/_posts/IC/基于Verilog的数字IC设计方法.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ end

综合出来的电路如图所示:

<img src='https://i.postimg.cc/x84BbfW8/20250117230859.jpg' border='0' alt='20250117230859'/>
<img src='https://i.postimg.cc/x84BbfW8/20250117230859.jpg' border='0' alt='20250117230859' width="100%"/>

可见,使用if表述的选择关系,综合的电路是一层一层逐渐展开的,写在if最前面的语句,掌握着最终的选择权,因而优先级最高,再往后优先级逐层下降,而使用case表述的MUX,每个选择都是并列的,优先级相同,见下文。

Expand Down

0 comments on commit 000e901

Please sign in to comment.