资源描述:
《数字逻辑设计实验3》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、ShengruiZhou1680056671.4hours2.TestF[2:0]ABYZeroADD0+020000000000000000000000001ADD0+(-1)200000000FFFFFFFFFFFFFFFF0ADD1+(-1)200000001FFFFFFFF000000001ADDFF+12OOOOOOFF()0000001()000010()0SUB0-06()()()()()(K)()()()()()()()()()()()()()()()()()1SUB0-(-1)600000000FFFFFFFF00000001
2、0SUB1-160000000100000001000000001SUB100-160000010000000001OOOOOOFF0SET0,()7()000000000000(X)000000()0()1SLTO,170000000000000001000000010SLTO,-1700000000FFFFFFFF000000001SLT1,070000000100000000000000001SLT-107FFFFFFFF00000000000000010ANDFFFFFFFF,FFFFFFFF0FFFFFFFFFFFFFFFFFFFFF
3、FF0ANDFFFFFFFF,123456780FFFFFFFF12345678123456780AND12345678,8765432101234567887654321022442200AND00000000,FFFFFFFF000000000FFFFFFFF000000001ORFFFFFFFF,FFFFFFFF1FFFFFFFFFFFFFFFFFFFFFFFF0OR12345678,8765432111234567887654321977557790OR00000000,FFFFFFFF100000000FFFFFFFFFFFFFFFF
4、0OR00000000,00000000100000000000000000000000012_00000000_00000000_00000000_l2_00000000_FFFFFFFF_FFFFFFFF_02_00000001_FFFFFFFF_00000000_l2_00000001_FFFFFFFF_OOOOO1OO_O6_00000000_00000000_00000000_l6_00000000_FFFFFFFF_00000001_0600000001000000010000000016_00000100_00000001_000
5、000FF_07_00000000_00000000_00000000_l7_00000000_00000001_00000001_07_00000000_FFFFFFFF_00000000_l7_00000001_00000000_00000000_l7_阡FFFFFF_00000000_00000001_0O_FFFFFFFF_FFFFFFFF_FFFFFFFF_O0_FFFFFFFF_12345678_12345678_00_12345678_87654321_02244220_00_00000000_FFFFFFFF_OOOOOOOO_
6、11_FFFFFFFF_FFFFFFFF_FFFFFFFF_Ol_12345678_87654321_97755779_01_OOOOOOOO_FFFFFFFF_FFFFFFFF_Ol_OOOOOOOO_OOOOOOOO_OOOOOOOO_l3.Alu.sv:modulealu(inputlogic[31:0Ja,b,inputlogic[2:0]f,outputlogic[31:0]y,outputlogic[3:0]zero);logic[31:0Jbb,s;assignbb=f[2]?〜b:b;assigns=a+bb+f[2];alwa
7、ys_conibbegincase(f[l:0J)0:y=a&b;1:y=alb;2:y=s;3:y=s[31];default:y=8'hxxxxxxxx;endcasealways_combbeginif(y==8,hOOOOOOOO)zero=1;elsezcro=0;endendmodule4.example.ty:2_00000000_00000000_00000000_12_00000000_FFFFFFFF_FFFFFFFF_02_0()()()()0()1_FFFFFFFF_()()()()()()()()_12_000000F
8、F_00000001_00000100_06_00000000_00000000_00000000_16_00000000_FFFFFFFF_0000