-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALU.sym
36 lines (36 loc) · 2.25 KB
/
ALU.sym
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<symbol version="7" name="ALU">
<symboltype>BLOCK</symboltype>
<timestamp>2019-5-14T9:2:59</timestamp>
<attr value="ALU" name="VeriModel" />
<pin polarity="Input" x="0" y="-160" name="A(31:0)" />
<pin polarity="Input" x="0" y="-96" name="B(31:0)" />
<pin polarity="Input" x="0" y="-32" name="ALU_operation(2:0)" />
<pin polarity="Output" x="448" y="-160" name="zero" />
<pin polarity="Output" x="448" y="-96" name="overflow" />
<pin polarity="Output" x="448" y="-32" name="res(31:0)" />
<pin polarity="Input" x="0" y="32" name="shamt(4:0)" />
<graph>
<attrtext style="alignment:BCENTER;fontsize:56;fontname:Arial" attrname="SymbolName" x="224" y="-200" type="symbol" />
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="72" y="-160" type="pin A(31:0)" />
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="72" y="-96" type="pin B(31:0)" />
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="72" y="-32" type="pin ALU_operation(2:0)" />
<attrtext style="alignment:RIGHT;fontsize:24;fontname:Arial" attrname="PinName" x="376" y="-160" type="pin zero" />
<attrtext style="alignment:RIGHT;fontsize:24;fontname:Arial" attrname="PinName" x="376" y="-96" type="pin overflow" />
<attrtext style="alignment:RIGHT;fontsize:24;fontname:Arial" attrname="PinName" x="376" y="-32" type="pin res(31:0)" />
<attrtext style="fontsize:24;fontname:Arial" attrname="PinName" x="72" y="32" type="pin shamt(4:0)" />
<rect width="64" x="0" y="20" height="24" />
<line x2="0" y1="32" y2="32" x1="64" />
<rect width="64" x="0" y="-172" height="24" />
<line x2="0" y1="-160" y2="-160" x1="64" />
<rect width="64" x="0" y="-108" height="24" />
<line x2="0" y1="-96" y2="-96" x1="64" />
<rect width="64" x="0" y="-44" height="24" />
<line x2="0" y1="-32" y2="-32" x1="64" />
<line x2="448" y1="-160" y2="-160" x1="384" />
<line x2="448" y1="-96" y2="-96" x1="384" />
<rect width="64" x="384" y="-44" height="24" />
<line x2="448" y1="-32" y2="-32" x1="384" />
<rect width="320" x="64" y="-192" height="256" />
</graph>
</symbol>