diff options
author | crupest <crupest@outlook.com> | 2021-11-26 21:24:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-26 21:24:20 +0800 |
commit | e3fb643403ae71a38cba404e8d548d7a49cfdb88 (patch) | |
tree | db17171e551f53b697b78320f18acfbaab8140f6 /works/life/computer-organization-experiment/multiplexer_8_2.vhdl | |
parent | 1ea48b1fcb7ac64935018b1ced2d0f11982872ea (diff) | |
download | crupest-e3fb643403ae71a38cba404e8d548d7a49cfdb88.tar.gz crupest-e3fb643403ae71a38cba404e8d548d7a49cfdb88.tar.bz2 crupest-e3fb643403ae71a38cba404e8d548d7a49cfdb88.zip |
import(life): Add computer organization 5.
Diffstat (limited to 'works/life/computer-organization-experiment/multiplexer_8_2.vhdl')
-rw-r--r-- | works/life/computer-organization-experiment/multiplexer_8_2.vhdl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/works/life/computer-organization-experiment/multiplexer_8_2.vhdl b/works/life/computer-organization-experiment/multiplexer_8_2.vhdl index d9e80f8..6be0bd2 100644 --- a/works/life/computer-organization-experiment/multiplexer_8_2.vhdl +++ b/works/life/computer-organization-experiment/multiplexer_8_2.vhdl @@ -8,13 +8,5 @@ end multiplexer_8_2; architecture behaviour of multiplexer_8_2 is begin - b: process is - begin - if S = '1' then - Y <= A1; - else - Y <= A0; - end if; - wait for 1 ps; - end process b; + Y <= A0 when S = '0' else A1; end behaviour; |