mirror of
https://github.com/ehw-fit/ariths-gen.git
synced 2025-04-21 22:31:22 +01:00
181 lines
5.1 KiB
Plaintext
181 lines
5.1 KiB
Plaintext
.model f_u_arrmul4
|
|
.inputs a[0] a[1] a[2] a[3] b[0] b[1] b[2] b[3]
|
|
.outputs f_u_arrmul4_out[0] f_u_arrmul4_out[1] f_u_arrmul4_out[2] f_u_arrmul4_out[3] f_u_arrmul4_out[4] f_u_arrmul4_out[5] f_u_arrmul4_out[6] f_u_arrmul4_out[7]
|
|
.names vdd
|
|
1
|
|
.names gnd
|
|
0
|
|
.names a[0] b[0] f_u_arrmul4_and0_0
|
|
11 1
|
|
.names a[1] b[0] f_u_arrmul4_and1_0
|
|
11 1
|
|
.names a[2] b[0] f_u_arrmul4_and2_0
|
|
11 1
|
|
.names a[3] b[0] f_u_arrmul4_and3_0
|
|
11 1
|
|
.names a[0] b[1] f_u_arrmul4_and0_1
|
|
11 1
|
|
.names f_u_arrmul4_and0_1 f_u_arrmul4_and1_0 f_u_arrmul4_ha0_1_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and0_1 f_u_arrmul4_and1_0 f_u_arrmul4_ha0_1_and0
|
|
11 1
|
|
.names a[1] b[1] f_u_arrmul4_and1_1
|
|
11 1
|
|
.names f_u_arrmul4_and1_1 f_u_arrmul4_and2_0 f_u_arrmul4_fa1_1_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and1_1 f_u_arrmul4_and2_0 f_u_arrmul4_fa1_1_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa1_1_xor0 f_u_arrmul4_ha0_1_and0 f_u_arrmul4_fa1_1_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa1_1_xor0 f_u_arrmul4_ha0_1_and0 f_u_arrmul4_fa1_1_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa1_1_and0 f_u_arrmul4_fa1_1_and1 f_u_arrmul4_fa1_1_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[2] b[1] f_u_arrmul4_and2_1
|
|
11 1
|
|
.names f_u_arrmul4_and2_1 f_u_arrmul4_and3_0 f_u_arrmul4_fa2_1_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and2_1 f_u_arrmul4_and3_0 f_u_arrmul4_fa2_1_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa2_1_xor0 f_u_arrmul4_fa1_1_or0 f_u_arrmul4_fa2_1_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa2_1_xor0 f_u_arrmul4_fa1_1_or0 f_u_arrmul4_fa2_1_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa2_1_and0 f_u_arrmul4_fa2_1_and1 f_u_arrmul4_fa2_1_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[3] b[1] f_u_arrmul4_and3_1
|
|
11 1
|
|
.names f_u_arrmul4_and3_1 f_u_arrmul4_fa2_1_or0 f_u_arrmul4_ha3_1_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and3_1 f_u_arrmul4_fa2_1_or0 f_u_arrmul4_ha3_1_and0
|
|
11 1
|
|
.names a[0] b[2] f_u_arrmul4_and0_2
|
|
11 1
|
|
.names f_u_arrmul4_and0_2 f_u_arrmul4_fa1_1_xor1 f_u_arrmul4_ha0_2_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and0_2 f_u_arrmul4_fa1_1_xor1 f_u_arrmul4_ha0_2_and0
|
|
11 1
|
|
.names a[1] b[2] f_u_arrmul4_and1_2
|
|
11 1
|
|
.names f_u_arrmul4_and1_2 f_u_arrmul4_fa2_1_xor1 f_u_arrmul4_fa1_2_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and1_2 f_u_arrmul4_fa2_1_xor1 f_u_arrmul4_fa1_2_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa1_2_xor0 f_u_arrmul4_ha0_2_and0 f_u_arrmul4_fa1_2_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa1_2_xor0 f_u_arrmul4_ha0_2_and0 f_u_arrmul4_fa1_2_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa1_2_and0 f_u_arrmul4_fa1_2_and1 f_u_arrmul4_fa1_2_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[2] b[2] f_u_arrmul4_and2_2
|
|
11 1
|
|
.names f_u_arrmul4_and2_2 f_u_arrmul4_ha3_1_xor0 f_u_arrmul4_fa2_2_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and2_2 f_u_arrmul4_ha3_1_xor0 f_u_arrmul4_fa2_2_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa2_2_xor0 f_u_arrmul4_fa1_2_or0 f_u_arrmul4_fa2_2_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa2_2_xor0 f_u_arrmul4_fa1_2_or0 f_u_arrmul4_fa2_2_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa2_2_and0 f_u_arrmul4_fa2_2_and1 f_u_arrmul4_fa2_2_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[3] b[2] f_u_arrmul4_and3_2
|
|
11 1
|
|
.names f_u_arrmul4_and3_2 f_u_arrmul4_ha3_1_and0 f_u_arrmul4_fa3_2_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and3_2 f_u_arrmul4_ha3_1_and0 f_u_arrmul4_fa3_2_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa3_2_xor0 f_u_arrmul4_fa2_2_or0 f_u_arrmul4_fa3_2_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa3_2_xor0 f_u_arrmul4_fa2_2_or0 f_u_arrmul4_fa3_2_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa3_2_and0 f_u_arrmul4_fa3_2_and1 f_u_arrmul4_fa3_2_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[0] b[3] f_u_arrmul4_and0_3
|
|
11 1
|
|
.names f_u_arrmul4_and0_3 f_u_arrmul4_fa1_2_xor1 f_u_arrmul4_ha0_3_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and0_3 f_u_arrmul4_fa1_2_xor1 f_u_arrmul4_ha0_3_and0
|
|
11 1
|
|
.names a[1] b[3] f_u_arrmul4_and1_3
|
|
11 1
|
|
.names f_u_arrmul4_and1_3 f_u_arrmul4_fa2_2_xor1 f_u_arrmul4_fa1_3_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and1_3 f_u_arrmul4_fa2_2_xor1 f_u_arrmul4_fa1_3_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa1_3_xor0 f_u_arrmul4_ha0_3_and0 f_u_arrmul4_fa1_3_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa1_3_xor0 f_u_arrmul4_ha0_3_and0 f_u_arrmul4_fa1_3_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa1_3_and0 f_u_arrmul4_fa1_3_and1 f_u_arrmul4_fa1_3_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[2] b[3] f_u_arrmul4_and2_3
|
|
11 1
|
|
.names f_u_arrmul4_and2_3 f_u_arrmul4_fa3_2_xor1 f_u_arrmul4_fa2_3_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and2_3 f_u_arrmul4_fa3_2_xor1 f_u_arrmul4_fa2_3_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa2_3_xor0 f_u_arrmul4_fa1_3_or0 f_u_arrmul4_fa2_3_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa2_3_xor0 f_u_arrmul4_fa1_3_or0 f_u_arrmul4_fa2_3_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa2_3_and0 f_u_arrmul4_fa2_3_and1 f_u_arrmul4_fa2_3_or0
|
|
1- 1
|
|
-1 1
|
|
.names a[3] b[3] f_u_arrmul4_and3_3
|
|
11 1
|
|
.names f_u_arrmul4_and3_3 f_u_arrmul4_fa3_2_or0 f_u_arrmul4_fa3_3_xor0
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_and3_3 f_u_arrmul4_fa3_2_or0 f_u_arrmul4_fa3_3_and0
|
|
11 1
|
|
.names f_u_arrmul4_fa3_3_xor0 f_u_arrmul4_fa2_3_or0 f_u_arrmul4_fa3_3_xor1
|
|
01 1
|
|
10 1
|
|
.names f_u_arrmul4_fa3_3_xor0 f_u_arrmul4_fa2_3_or0 f_u_arrmul4_fa3_3_and1
|
|
11 1
|
|
.names f_u_arrmul4_fa3_3_and0 f_u_arrmul4_fa3_3_and1 f_u_arrmul4_fa3_3_or0
|
|
1- 1
|
|
-1 1
|
|
.names f_u_arrmul4_and0_0 f_u_arrmul4_out[0]
|
|
1 1
|
|
.names f_u_arrmul4_ha0_1_xor0 f_u_arrmul4_out[1]
|
|
1 1
|
|
.names f_u_arrmul4_ha0_2_xor0 f_u_arrmul4_out[2]
|
|
1 1
|
|
.names f_u_arrmul4_ha0_3_xor0 f_u_arrmul4_out[3]
|
|
1 1
|
|
.names f_u_arrmul4_fa1_3_xor1 f_u_arrmul4_out[4]
|
|
1 1
|
|
.names f_u_arrmul4_fa2_3_xor1 f_u_arrmul4_out[5]
|
|
1 1
|
|
.names f_u_arrmul4_fa3_3_xor1 f_u_arrmul4_out[6]
|
|
1 1
|
|
.names f_u_arrmul4_fa3_3_or0 f_u_arrmul4_out[7]
|
|
1 1
|
|
.end
|