📄 8x8multiplier.sp
字号:
xbuffer11 b2 b2_f buffer M=1 N=4
xbuffer12 b3 b3_f buffer M=1 N=4
xbuffer13 b4 b4_f buffer M=1 N=4
xbuffer14 b5 b5_f buffer M=1 N=4
xbuffer15 b6 b6_f buffer M=1 N=4
xbuffer16 b7 b7_f buffer M=1 N=4
xbuffer17 b8 b8_f buffer M=1 N=4
xbuffer18 p1_f p1 buffer M=19 N=75
xbuffer19 p2_f p2 buffer M=19 N=75
xbuffer20 p3_f p3 buffer M=19 N=75
xbuffer21 p4_f p4 buffer M=19 N=75
xbuffer22 p5_f p5 buffer M=19 N=75
xbuffer23 p6_f p6 buffer M=19 N=75
xbuffer24 p7_f p7 buffer M=19 N=75
xbuffer25 p8_f p8 buffer M=19 N=75
xbuffer26 p9_f p9 buffer M=19 N=75
xbuffer27 p10_f p10 buffer M=19 N=75
xbuffer28 p11_f p11 buffer M=19 N=75
xbuffer29 p12_f p12 buffer M=19 N=75
xbuffer30 p13_f p13 buffer M=19 N=75
xbuffer31 p14_f p14 buffer M=19 N=75
xbuffer32 p15_f p15 buffer M=19 N=75
xbuffer33 p16_f p16 buffer M=19 N=75
***********gernerate booth code*************
vb0 b0 0 0.0
xBoothCoding1 b2_f b1_f b0 M1 Y2_1 Y1 BoothCoding M=4
xBoothCoding2 b4_f b3_f b2_f M2 Y2_2 Y2 BoothCoding M=4
xBoothCoding3 b6_f b5_f b4_f M3 Y2_3 Y3 BoothCoding M=4
xBoothCoding4 b8_f b7_f b6_f M4 Y2_4 Y4 BoothCoding M=4
***********gernerate part product***********
va0 a0 0 0.0
xBoothSelector1 a1_f a0 Y1 Y2_1 M1 PP11 BoothSelector M=2
xBoothSelector2 a2_f a1_f Y1 Y2_1 M1 PP12 BoothSelector M=2
xBoothSelector3 a3_f a2_f Y1 Y2_1 M1 PP13 BoothSelector M=2
xBoothSelector4 a4_f a3_f Y1 Y2_1 M1 PP14 BoothSelector M=2
xBoothSelector5 a5_f a4_f Y1 Y2_1 M1 PP15 BoothSelector M=2
xBoothSelector6 a6_f a5_f Y1 Y2_1 M1 PP16 BoothSelector M=2
xBoothSelector7 a7_f a6_f Y1 Y2_1 M1 PP17 BoothSelector M=2
xBoothSelector8 a8_f a7_f Y1 Y2_1 M1 PP18 BoothSelector M=2
xBoothSelector9 a8_f a8_f Y1 Y2_1 M1 PP19 BoothSelector M=2
xBoothSelector10 a8_f a8_f Y1 Y2_1 M1 e1 BoothSelector M=2
xnot1 e1 e1_ not M=1
xBoothSelector11 a1_f a0 Y2 Y2_2 M2 PP21 BoothSelector M=2
xBoothSelector12 a2_f a1_f Y2 Y2_2 M2 PP22 BoothSelector M=2
xBoothSelector13 a3_f a2_f Y2 Y2_2 M2 PP23 BoothSelector M=2
xBoothSelector14 a4_f a3_f Y2 Y2_2 M2 PP24 BoothSelector M=2
xBoothSelector15 a5_f a4_f Y2 Y2_2 M2 PP25 BoothSelector M=2
xBoothSelector16 a6_f a5_f Y2 Y2_2 M2 PP26 BoothSelector M=2
xBoothSelector17 a7_f a6_f Y2 Y2_2 M2 PP27 BoothSelector M=2
xBoothSelector18 a8_f a7_f Y2 Y2_2 M2 PP28 BoothSelector M=2
xBoothSelector19 a8_f a8_f Y2 Y2_2 M2 PP29 BoothSelector M=2
xBoothSelector20 a8_f a8_f Y2 Y2_2 M2 e2 BoothSelector M=2
xnot2 e2 e2_ not M=1
xBoothSelector21 a1_f a0 Y3 Y2_3 M3 PP31 BoothSelector M=2
xBoothSelector22 a2_f a1_f Y3 Y2_3 M3 PP32 BoothSelector M=2
xBoothSelector23 a3_f a2_f Y3 Y2_3 M3 PP33 BoothSelector M=2
xBoothSelector24 a4_f a3_f Y3 Y2_3 M3 PP34 BoothSelector M=2
xBoothSelector25 a5_f a4_f Y3 Y2_3 M3 PP35 BoothSelector M=2
xBoothSelector26 a6_f a5_f Y3 Y2_3 M3 PP36 BoothSelector M=2
xBoothSelector27 a7_f a6_f Y3 Y2_3 M3 PP37 BoothSelector M=2
xBoothSelector28 a8_f a7_f Y3 Y2_3 M3 PP38 BoothSelector M=2
xBoothSelector29 a8_f a8_f Y3 Y2_3 M3 PP39 BoothSelector M=2
xBoothSelector30 a8_f a8_f Y3 Y2_3 M3 e3 BoothSelector M=2
xnot3 e3 e3_ not M=1
xBoothSelector31 a1_f a0 Y4 Y2_4 M4 PP41 BoothSelector M=2
xBoothSelector32 a2_f a1_f Y4 Y2_4 M4 PP42 BoothSelector M=2
xBoothSelector33 a3_f a2_f Y4 Y2_4 M4 PP43 BoothSelector M=2
xBoothSelector34 a4_f a3_f Y4 Y2_4 M4 PP44 BoothSelector M=2
xBoothSelector35 a5_f a4_f Y4 Y2_4 M4 PP45 BoothSelector M=2
xBoothSelector36 a6_f a5_f Y4 Y2_4 M4 PP46 BoothSelector M=2
xBoothSelector37 a7_f a6_f Y4 Y2_4 M4 PP47 BoothSelector M=2
xBoothSelector38 a8_f a7_f Y4 Y2_4 M4 PP48 BoothSelector M=2
xBoothSelector39 a8_f a8_f Y4 Y2_4 M4 PP49 BoothSelector M=2
xBoothSelector40 a8_f a8_f Y4 Y2_4 M4 e4 BoothSelector M=2
xnot4 e4 e4_ not M=1
vpower1 power 0 2.5
*********** wallace generate product ************
xhalf_adder1 PP11 M1 p1_f p2_1 half_adder M=4
xhalf_adder2 p2_1 PP12 p2_f p3_1 half_adder M=9
xfull_adder3_1 PP13 PP21 M2 p3_2 p4_2 full_adder M=1
xhalf_adder3_1 p3_1 p3_2 p3_f p4_1 half_adder M=21
xhalf_adder4_1 PP14 PP22 p4_3 p5_3 half_adder M=1
xfull_adder4_1 p4_1 p4_2 p4_3 p4_f p5_1 full_adder M=16
xfull_adder5_1 PP15 PP23 PP31 p5_4 P6_4 full_adder M=1
xfull_adder5_2 M3 p5_4 p5_3 p5_2 p6_2 full_adder M=1
xhalf_adder5_1 p5_1 p5_2 p5_f p6_1 half_adder M=35
xfull_adder6_1 PP16 PP24 PP32 p6_5 p7_4 full_adder M=1
xhalf_adder6_1 p6_4 p6_5 p6_3 p7_2 half_adder M=1
xfull_adder6_2 p6_1 p6_2 p6_3 p6_f p7_1 full_adder M=27
xfull_adder7_1 PP17 PP25 PP33 p7_6 p8_6 full_adder M=1
xhalf_adder7_1 PP41 M4 p7_5 p8_4 half_adder M=1
xfull_adder7_2 p7_4 p7_5 p7_6 p7_3 p8_3 full_adder M=1
xfull_adder7_3 p7_1 p7_2 p7_3 p7_f p8_1 full_adder M=20
xfull_adder8_1 PP18 PP26 PP34 p8_7 p9_6 full_adder M=1
xfull_adder8_2 PP42 p8_7 p8_6 p8_5 p9_4 full_adder M=1
xfull_adder8_3 p8_3 p8_4 p8_5 p8_2 p9_2 full_adder M=1
xhalf_adder8_1 p8_1 p8_2 p8_f p9_1 half_adder M=45
xfull_adder9_1 PP19 PP27 PP35 p9_7 p10_6 full_adder M=1
xfull_adder9_2 PP43 p9_6 p9_7 p9_5 p10_4 full_adder M=1
xhalf_adder9_1 p9_4 p9_5 p9_3 p10_2 half_adder M=1
xfull_adder9_3 p9_1 p9_2 p9_3 p9_f p10_1 full_adder M=34
xfull_adder10_1 e1 PP28 PP36 p10_7 p11_6 full_adder M=1
xfull_adder10_2 p10_6 p10_7 PP44 p10_5 p11_4 full_adder M=1
xhalf_adder10_1 p10_4 p10_5 p10_3 p11_2 half_adder M=1
xfull_adder10_3 p10_1 p10_2 p10_3 p10_f p11_1 full_adder M=26
xfull_adder11_1 e1 PP29 PP37 p11_7 p12_6 full_adder M=1
xfull_adder11_2 PP45 p11_6 p11_7 p11_5 p12_4 full_adder M=1
xhalf_adder11_1 p11_4 p11_5 p11_3 p12_2 half_adder M=1
xfull_adder11_3 p11_1 p11_2 p11_3 p11_f p12_1 full_adder M=19
xfull_adder12_1 e1_ e2_ PP38 p12_7 p13_6 full_adder M=1
xfull_adder12_2 PP46 p12_6 p12_7 p12_5 p13_4 full_adder M=1
xhalf_adder12_1 p12_4 p12_5 p12_3 p13_2 half_adder M=1
xfull_adder12_3 p12_1 p12_2 p12_3 p12_f p13_1 full_adder M=15
xfull_adder13_1 power PP39 PP47 p13_7 p14_6 full_adder M=1
xhalf_adder13_1 p13_6 p13_7 p13_5 p14_4 half_adder M=1
xhalf_adder13_2 P13_4 P13_5 P13_3 P14_2 half_adder M=1
xfull_adder13_2 p13_1 p13_2 p13_3 p13_f p14_1 full_adder M=11
xhalf_adder14_1 PP48 e3_ p14_7 p15_6 half_adder M=1
xhalf_adder14_2 p14_6 p14_7 p14_5 p15_4 half_adder M=1
xhalf_adder14_3 p14_4 p14_5 p14_3 p15_2 half_adder M=1
xfull_adder14_1 p14_1 p14_2 p14_3 p14_f p15_1 full_adder M=8
xhalf_adder15_1 power PP49 p15_7 p16_5 half_adder M=1
xhalf_adder15_2 p15_6 p15_7 p15_5 p16_4 half_adder M=1
xhalf_adder15_3 p15_4 p15_5 p15_3 p16_2 half_adder M=1
xfull_adder15_1 p15_1 p15_2 p15_3 p15_f p16_1 full_adder M=6
xfull_adder16_1 p16_4 p16_5 e4_ p16_3 p17_2 full_adder M=1
xfull_adder16_2 p16_1 p16_2 p16_3 p16_f p17_1 full_adder M=5
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -