⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rightshiftearlier_1.vst

📁 i need of vhdl code for 32-bit risc processor
💻 VST
字号:
ENTITY rightshift ISPORT (inpbit : IN bit;inpvec : IN bit_vector(4 downto 0);shresult : OUT bit_vector(4 downto 0));END rightshift;ARCHITECTURE rightshift_arch OF rightshift ISCOMPONENT mux2to1PORT (inp1 : IN BIT;inp2 : IN BIT;en : IN BIT;outp : OUT BIT);END COMPONENT;COMPONENT buffer0PORT (bo1 : IN BIT;bo2 : OUT BIT);END COMPONENT;beginbuffer : buffer0 PORT MAP(inpvec(4),selection);mux1 : mux2to1 PORT MAP(inpbit,inpvec(3),selection,shresult(4));mux2 : mux2to1 PORT MAP(inpvec(4),inpvec(2),selection,shresult(3));mux3 : mux2to1 PORT MAP(inpvec(3),inpvec(1),selection,shresult(2));mux4 : mux2to1 PORT MAP(inpvec(2),inpvec(0),selection,shresult(1));mux5 : mux2to1 PORT MAP(inpvec(1),inpbit,selection,shresult(1));end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -