home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d432
/
apalasm
/
examples
/
barrelroll.pal
< prev
next >
Wrap
Text File
|
1991-01-12
|
5KB
|
122 lines
PAL20R8 PAL DESIGN SPECIFICATION
P7095 VINCENT COLI 09/10/82
OCTAL REGISTERED BARREL SHIFTER
MMI SUNNYVALE, CALIFORNIA
CLK I0 D0 D1 D2 D3 D4 D5 D6 D7 /E GND
/OC I1 Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I2 VCC
;pinlist 1 to 24 must start in line 5
;equations go here
/Q0 := /E*/I2*/I1*/I0*/D0 ;shift 0 places
+ /E*/I2*/I1* I0*/D1 ;shift 1 places
+ /E*/I2* I1*/I0*/D2 ;shift 2 places
+ /E*/I2* I1* I0*/D3 ;shift 3 places
+ /E* I2*/I1*/I0*/D4 ;shift 4 places
+ /E* I2*/I1* I0*/D5 ;shift 5 places
+ /E* I2* I1*/I0*/D6 ;shift 6 places
+ /E* I2* I1* I0*/D7 ;shift 7 places
/Q1 := /E*/I2*/I1*/I0*/D1 ;shift 0 places
+ /E*/I2*/I1* I0*/D2 ;shift 1 places
+ /E*/I2* I1*/I0*/D3 ;shift 2 places
+ /E*/I2* I1* I0*/D4 ;shift 3 places
+ /E* I2*/I1*/I0*/D5 ;shift 4 places
+ /E* I2*/I1* I0*/D6 ;shift 5 places
+ /E* I2* I1*/I0*/D7 ;shift 6 places
+ /E* I2* I1* I0*/D0 ;shift 7 places
/Q2 := /E*/I2*/I1*/I0*/D2 ;shift 0 places
+ /E*/I2*/I1* I0*/D3 ;shift 1 places
+ /E*/I2* I1*/I0*/D4 ;shift 2 places
+ /E*/I2* I1* I0*/D5 ;shift 3 places
+ /E* I2*/I1*/I0*/D6 ;shift 4 places
+ /E* I2*/I1* I0*/D7 ;shift 5 places
+ /E* I2* I1*/I0*/D0 ;shift 6 places
+ /E* I2* I1* I0*/D1 ;shift 7 places
/Q3 := /E*/I2*/I1*/I0*/D3 ;shift 0 places
+ /E*/I2*/I1* I0*/D4 ;shift 1 places
+ /E*/I2* I1*/I0*/D5 ;shift 2 places
+ /E*/I2* I1* I0*/D6 ;shift 3 places
+ /E* I2*/I1*/I0*/D7 ;shift 4 places
+ /E* I2*/I1* I0*/D0 ;shift 5 places
+ /E* I2* I1*/I0*/D1 ;shift 6 places
+ /E* I2* I1* I0*/D2 ;shift 7 places
/Q4 := /E*/I2*/I1*/I0*/D4 ;shift 0 places
+ /E*/I2*/I1* I0*/D5 ;shift 1 places
+ /E*/I2* I1*/I0*/D6 ;shift 2 places
+ /E*/I2* I1* I0*/D7 ;shift 3 places
+ /E* I2*/I1*/I0*/D0 ;shift 4 places
+ /E* I2*/I1* I0*/D1 ;shift 5 places
+ /E* I2* I1*/I0*/D2 ;shift 6 places
+ /E* I2* I1* I0*/D3 ;shift 7 places
/Q5 := /E*/I2*/I1*/I0*/D5 ;shift 0 places
+ /E*/I2*/I1* I0*/D6 ;shift 1 places
+ /E*/I2* I1*/I0*/D7 ;shift 2 places
+ /E*/I2* I1* I0*/D0 ;shift 3 places
+ /E* I2*/I1*/I0*/D1 ;shift 4 places
+ /E* I2*/I1* I0*/D2 ;shift 5 places
+ /E* I2* I1*/I0*/D3 ;shift 6 places
+ /E* I2* I1* I0*/D4 ;shift 7 places
/Q6 := /E*/I2*/I1*/I0*/D6 ;shift 0 places
+ /E*/I2*/I1* I0*/D7 ;shift 1 places
+ /E*/I2* I1*/I0*/D0 ;shift 2 places
+ /E*/I2* I1* I0*/D1 ;shift 3 places
+ /E* I2*/I1*/I0*/D2 ;shift 4 places
+ /E* I2*/I1* I0*/D3 ;shift 5 places
+ /E* I2* I1*/I0*/D4 ;shift 6 places
+ /E* I2* I1* I0*/D5 ;shift 7 places
/Q7 := /E*/I2*/I1*/I0*/D7 ;shift 0 places
+ /E*/I2*/I1* I0*/D0 ;shift 1 places
+ /E*/I2* I1*/I0*/D1 ;shift 2 places
+ /E*/I2* I1* I0*/D2 ;shift 3 places
+ /E* I2*/I1*/I0*/D3 ;shift 4 places
+ /E* I2*/I1* I0*/D4 ;shift 5 places
+ /E* I2* I1*/I0*/D5 ;shift 6 places
+ /E* I2* I1* I0*/D6 ;shift 7 places
; function table vectors go here
FUNCTION TABLE
CLK /OC E I2 I1 I0 D7 D6 D5 D4 D3 D2 D1 D0 Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0
;function table pin list
;CHIP CONTROL III DDDDDDDD QQQQQQQQ
;CLK /OC /E 210 76543210 76543210 COMMENTS
-------------------------------------------------------------------------
C L L LLL HLLLLLLL HLLLLLLL BARREL SHIFT ONE H 0 PLACES
C L L LLH HLLLLLLL LHLLLLLL BARREL SHIFT ONE H 1 PLACES
C L L LHL HLLLLLLL LLHLLLLL BARREL SHIFT ONE H 2 PLACES
C L L LHH HLLLLLLL LLLHLLLL BARREL SHIFT ONE H 3 PLACES
C L L HLL HLLLLLLL LLLLHLLL BARREL SHIFT ONE H 4 PLACES
C L L HLH HLLLLLLL LLLLLHLL BARREL SHIFT ONE H 5 PLACES
C L L HHL HLLLLLLL LLLLLLHL BARREL SHIFT ONE H 6 PLACES
C L L HHH HLLLLLLL LLLLLLLH BARREL SHIFT ONE H 7 PLACES
C L L LLL LHHHHHHH LHHHHHHH BARREL SHIFT ONE L 0 PLACES
C L L LLH LHHHHHHH HLHHHHHH BARREL SHIFT ONE L 1 PLACES
C L L LHL LHHHHHHH HHLHHHHH BARREL SHIFT ONE L 2 PLACES
C L L LHH LHHHHHHH HHHLHHHH BARREL SHIFT ONE L 3 PLACES
C L L HLL LHHHHHHH HHHHLHHH BARREL SHIFT ONE L 4 PLACES
C L L HLH LHHHHHHH HHHHHLHH BARREL SHIFT ONE L 5 PLACES
C L L HHL LHHHHHHH HHHHHHLH BARREL SHIFT ONE L 6 PLACES
C L L HHH LHHHHHHH HHHHHHHL BARREL SHIFT ONE L 7 PLACES
C L H XXX XXXXXXXX XXXXXXXX PRESET (/E = H)
X H X XXX XXXXXXXX ZZZZZZZZ TEST HI-Z
-------------------------------------------------------------------------
DESCRIPTION
The octal registered barrel shifter will shift eight bits of data (D7-0)
a number of locations into the output registers (Q7-0) as specified by
the binary encoded input (I2-0) synchronous with the clock input (CLK)
and providing the enable pin is true (/E = low). The output register will
be preset to all highs when enable is false (/E = high). The three-state
outputs are high-z when the output control line (/OC) is low.