SE438044B - SET FOR CHANGING A INCOMING BINED DATA WORD AND A PARALLEL DOUBLE-DIRECT SHIFT CIRCUM FOR IMPLEMENTATION OF THE SET - Google Patents

SET FOR CHANGING A INCOMING BINED DATA WORD AND A PARALLEL DOUBLE-DIRECT SHIFT CIRCUM FOR IMPLEMENTATION OF THE SET

Info

Publication number
SE438044B
SE438044B SE7806741A SE7806741A SE438044B SE 438044 B SE438044 B SE 438044B SE 7806741 A SE7806741 A SE 7806741A SE 7806741 A SE7806741 A SE 7806741A SE 438044 B SE438044 B SE 438044B
Authority
SE
Sweden
Prior art keywords
word
shift
network
input
binary
Prior art date
Application number
SE7806741A
Other languages
Swedish (sv)
Other versions
SE7806741L (en
Inventor
C Cesaratto
Original Assignee
Northern Telecom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northern Telecom Ltd filed Critical Northern Telecom Ltd
Publication of SE7806741L publication Critical patent/SE7806741L/en
Publication of SE438044B publication Critical patent/SE438044B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/01Methods or arrangements for data conversion without changing the order or content of the data handled for shifting, e.g. justifying, scaling, normalising
    • G06F5/015Methods or arrangements for data conversion without changing the order or content of the data handled for shifting, e.g. justifying, scaling, normalising having at least two separately controlled shifting levels, e.g. using shifting matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Shift Register Type Memory (AREA)
  • Executing Machine-Instructions (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)
  • Communication Control (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

7806M14) 2 tion är konstant för alla skiftningsstorlekar. Denna an- ordning har befunnits vara helt lämplig för sitt avsedda ändamål, nämligen att skifta de relativa lägena för bi- tarna i ett binärt ord, men den är ej väl lämpad för ut- förande av andra logiska funktioner. 7806M14) 2 tion is constant for all shift sizes. This device has been found to be completely suitable for its intended purpose, namely to shift the relative positions of the bits in a binary word, but it is not well suited for performing other logical functions.

Ett ändamål med föreliggande uppfinning är att å- stadkomma en parallell dubbelriktad skiftare och databe- handlare, som uppvisar fördelar jämfört med tidigare kända kretsar. En väsentlig egenskap hos uppfinningen är att kret- sen kan utnyttjas för att effektivt isolera ett fält av data i ett inkommande binärt ord, varvid fältet justeras ät höger, dvs ett utgående binärt ord innefattar endast de isolerade bitarna som är belägna vid de minst signifi- kanta positionerna i ordet. En egenskap hos kretsen enligt uppfinningen är även, att den kan åstadkommas under utnytt- jande av ett minimalt antal komponenter av det slag som är kommersiellt tillgängliga som lagervara. Ytterligare en egenskap hos uppfinningen är att varje funktion hos kretsen kan fullgöras på minimal realtid och varvid tiden för att fullgöra varje operation är konstant.An object of the present invention is to provide a parallel bidirectional shifter and data processor which exhibits advantages over prior art circuits. An essential feature of the invention is that the circuit can be used to effectively isolate a field of data in an incoming binary word, the field being adjusted to the right, i.e. an outgoing binary word comprises only the isolated bits which are located at the least significant edge the positions in the word. A feature of the circuit according to the invention is also that it can be achieved by utilizing a minimum number of components of the kind which are commercially available as stock. A further feature of the invention is that each function of the circuit can be performed in minimal real time and wherein the time to complete each operation is constant.

I enlßflmm medtqgfinningen åstæfl«mnes ett sättcxm en krets för skiftning av ett binärt ord med N bitar varje antal uppill N -1 positioner till vänster eller höger,varvid ett skiftnät utnyttjas för att skifta ett ingående binärt ord ett förut- bestämt antal positioner i en i förväg bestånd riktning. Kretsen innefattar ett register som är logiskt förbundet med skiftnätet för att lagra spegelbilden av det binära ordet som uppträder vid utgången hos nämnda nät. En skiftstyrkrets nöj1fl¶Kk'dändd under styrning från en databehandlare att bestämda delar av det skiftande nätet erhåller önskad skiftningsstorlek och det ingående binära ordet cirkuleras två gånger genom skift- nätet och ackumulatorregistret för varje operation.In accordance with the invention, there is provided a method of shifting a binary word with N bits each number up to N -1 positions to the left or right, a shift network being used to shift an incoming binary word a predetermined number of positions in a in advance stock direction. The circuit comprises a register which is logically connected to the shift network for storing the mirror image of the binary word appearing at the output of said network. A shift control circuit satisfies under the control of a data processor that certain parts of the shifting network obtain the desired shifting size and the input binary word is circulated twice through the shifting network and the accumulator register for each operation.

Eftersom kretsen utför skiftfunktionerna under utnytt- jande av mikroinstruktioner utföres den andra på spegelbil- den av de data som erhålles från den första instruktionen, varvid funktionen med datafältisolering (maskering) kan ske effektivt under utnyttjande av samma krets och på minimal 7806741-0 realtid.Since the circuit performs the shift functions using microinstructions, the second is performed on the mirror image of the data obtained from the first instruction, whereby the function with data field isolation (masking) can take place efficiently using the same circuit and in a minimum of 7806741-0 real time.

Dessa och andra effekter av uppfinningen kommer att framgå klarare nedan av den följande beskrivningen av en såsom exempel vald utföringsform av uppfinningen och under hänvisning till ritningarna.These and other effects of the invention will become more apparent from the following description of an exemplary embodiment of the invention and with reference to the drawings.

Fig. l är ett blockschema över en parallell dubbel- riktad skiftkrets i enlighet med uppfinningen.Fig. 1 is a block diagram of a parallel bidirectional shift circuit in accordance with the invention.

Fig. 2 är ett schematiskt blockschema över den i figur 1 visade kretsen.Fig. 2 is a schematic block diagram of the circuit shown in Fig. 1.

Fig. 3 är ett schematiskt diagram över en av grin- darna som illustreras i figur 2 tillsammans med tillhöran- de sanningstabell.Fig. 3 is a schematic diagram of one of the gates illustrated in Fig. 2 together with the associated truth table.

Fig. 4 är ett synkroniseringsdiagram illustrerande funktionen hos kretsen enligt figur 2.Fig. 4 is a synchronization diagram illustrating the operation of the circuit of Fig. 2.

Fig. 5-7 illustrerar binära ord som uppträder vid skilda punkter i kretsen enligt figur 2 för olika funktioner.Figs. 5-7 illustrate binary words appearing at different points in the circuit of Fig. 2 for different functions.

Den följande såsom exempel på uppfinningen visade ut- föringsformen utgör en krets inrättad att arbeta på ett bi- närt ord med l6 bitar, 0-15. Det inses, att en dubbelriktad skiftnings- och databehandlingskrets utnyttjande uppfinningen kan anpassas för arbeta på binära ord av varje önskad längd.The following embodiment shown as an example of the invention constitutes a circuit arranged to work on a binarized word with 16 bits, 0-15. It will be appreciated that a bidirectional shift and data processing circuit utilizing the invention may be adapted to operate on binary words of any desired length.

I figur l visas ett skiftnät 20 med fyra nivåer iden- tifierade såsom SH-l eller SH-0, Slk2 eller SH-0, SH-4 eller SH-0 och SH-8 eller SH-0. Dessa är logiskt förbundna såsom kommer att beskrivas nedan och varje nivå är inrättad att skifta ett inkommande dataord ett i förväg bestämt antal positioner eller ingen position. En skiftstyrkrets 2l mottar klocksignaler och ett 4-bitars datafält från ett ej visat mikroprocessorziataregister för åstadkommande av aktiverings- signalerna, ZU, 21, 22 och 23, för motsvarande nivåer i skiftnätet 20. Ett ackumulatorregister 22 har en selektiv grindingång för mottagande av data från en inkommande data- buss eller från skiftnätet 20. Registret 22 styrs av en väl- jarstyrsignal från mikroprocessorn och av klocksignaler. De parallella utgångsledningarna 0-15 från nätet 20 är korskopp- lade till l6 ingångar, 15-0, hos registret 22, så att regist- ret 22 lagrar spegelbilden av det binära ord som uppträder 7806741-0 4 vid utgången hos nätet 20. Utgångarna från registret 22 är kopplade till en buss 23, vilken tjänstgör som utgångs- databuss för anordningen och såsom en cirkulationsbuss för matning av utgångsdata från registret 22 åter till ingången hos nätet 20.Figure 1 shows a shift network 20 with four levels identified as SH-1 or SH-0, Slk2 or SH-0, SH-4 or SH-0 and SH-8 or SH-0. These are logically connected as will be described below and each level is arranged to shift an incoming data word a predetermined number of positions or no position. A shift control circuit 21 receives clock signals and a 4-bit data field from a microprocessor register (not shown) to provide the activation signals, ZU, 21, 22 and 23, for corresponding levels in the shift network 20. An accumulator register 22 has a selective gate input for receiving data from an incoming data bus or from the shift network 20. The register 22 is controlled by a selector control signal from the microprocessor and by clock signals. The parallel output lines 0-15 from the network 20 are cross-connected to 16 inputs, 15-0, of the register 22, so that the register 22 stores the mirror image of the binary word appearing at the output of the network 20. The outputs from the register 22 are connected to a bus 23, which serves as the output data bus for the device and as a circulation bus for feeding output data from the register 22 back to the input of the network 20.

Figur 2 är ett schematiskt schema över kretsen enligt figur l. Skiftstyrkretsen 21 är ej visad mer detaljerat än i figur l, eftersom den helt enkelt kan utgöras av ett re- gister styrt av klocksignalerna för åstadkommande av fyra aktiveringssignaler S1, S2, S4 och S8, motsvarande de fyra nivåerna hos skiftgrindarna i nätet 20.Figure 2 is a schematic diagram of the circuit of Figure 1. The shift control circuit 21 is not shown in more detail than in Figure 1, since it may simply be a register controlled by the clock signals to provide four activation signals S1, S2, S4 and S8. , corresponding to the four levels of the shift gates in the network 20.

Varje skiftningsnivå i nätet 20 innefattar 16 grindar AO-A15, BO-B15, CO-C15 och DO-D15. Var och en av dessa grindar har ett par ingångar av vilka var och en kan väljas av en styrsignal, Sl, S2, S4 och S8.Each shift level in the network 20 comprises 16 gates AO-A15, BO-B15, CO-C15 and DO-D15. Each of these gates has a pair of inputs, each of which can be selected by a control signal, S1, S2, S4 and S8.

Figur 3 illustrerar en sådan grind tillsammans med en sanningstabell visande grindens funktion. Då väljar- eller aktiveringsledningen ej är aktiverad_medger grinden G data på ingångsledningen A att uppträda på utgångsledningen C och då väljarledningen är aktiverad medger grinden G data på ingångsledningen B att uppträda på utgångsledningen C.Figure 3 illustrates such a gate together with a truth table showing the function of the gate. When the selector or activation line is not activated, the gate G allows data on the input line A to appear on the output line C and when the selector line is activated, the gate G allows data on the input line B to appear on the output line C.

Denna typ av grind är kommersiellt tillgänglig som lagervara och är allmänt känd såsom en dataväljningsgrind med dubbel ingång (eng. dual-input data select gate).This type of gate is commercially available as a stock item and is commonly known as a dual-input data select gate.

Grindarna i varje nivå i skiftnätet är logiskt för- bundna med grindarna i den tidigare nivån för skiftning av det binära ordet ett i förväg bestämt antal positioner åt vänster. Exempelvis är var och en av grindarna A0-A15 i den första nivån förbundna med två ledningar hos bussen 23: Om ledningen Sl ej är aktiverad har grindarna A0-A15 ingen verkan på dataordet som uppträder på bussen 23 annat än att medge detta att uppträda vid dessas utgång. Om emellertid ledningen Sl aktiveras kommer grindarna A0-A15 att effektivt skifta data som uppträder på bussen 23 en position åt vänster.The gates in each level of the shift network are logically connected to the gates in the previous level for shifting the binary word a predetermined number of positions to the left. For example, each of the gates A0-A15 in the first level is connected to two lines of the bus 23: If the line S1 is not activated, the gates A0-A15 have no effect on the data word appearing on the bus 23 other than to allow it to appear at their outcome. However, if the line S1 is activated, the gates A0-A15 will effectively shift data appearing on the bus 23 one position to the left.

På samma sätt är grindarna BO-B15 vid den andra nivån in- rättade att icke skifta (ledningen S2 ej aktiverad) eller 78Û67lr1~0 att skifta (ledningen S2 aktiverad) data som uppträder vid utgången hos den första nivåns grindar A0-A15 2 positioner åt vänster. Grindarna i de tredje och fjärde nivåerna är på liknande sätt inrättade att icke skifta eller att skifta åt vänster 4 respektive 8 positioner. Genom att således medge ett binärt ord med N bitar att utbreda sig genom de fyra nivåerna hos skiftnätet 20 och genom selektiv aktivering av dessa nivåer kan det binära ordet som uppträder vid ugången hos skiftnätet representera en skiftning åt vänster varje antal positioner upp till N-1.Similarly, gates BO-B15 at the second level are arranged not to shift (line S2 not activated) or 78Û67lr1 ~ 0 to shift (line S2 activated) data appearing at the output of the first level gates A0-A15 2 positions to the left. The gates in the third and fourth levels are similarly arranged not to shift or to shift to the left 4 and 8 positions, respectively. Thus, by allowing a binary word with N bits to propagate through the four levels of the shift network 20 and by selectively activating these levels, the binary word appearing at the exit of the shift network can represent a shift to the left of any number of positions up to N-1. .

Registret 22 innefattar 16 vippor, RO-Rl5, var och en med selektiva grindar med två ingångar av den typ som tidigare beskrivits. Dessa element är även kommersiellt tillgängliga såsom lagervaror. Ett första set ingångar till elementen RO-Rl5 är förbundna med respektive ledningar hos en ingångsdatabuss. Ett binärt dataord som uppträder på nämn- da buss kan lagras i registret 22 vid en klocksignal och ge- nom aktivering av väljarledningen. Denna signal alstras nor- malt i mikroprocessorn, ej visad, i systemet. Ett andra set ingångar, RO-Rl5, till elementen R0-Rl5 i registret 22 är korskopplade till utgångarna DO-D15 hos nätet 20. Dessa kors- förbindningar representeras medelst de korsande pilarna 24.The register 22 comprises 16 flip-flops, RO-R15, each with selective gates with two inputs of the type previously described. These elements are also commercially available as stock items. A first set of inputs to the elements RO-R15 is connected to the respective wires of an input data bus. A binary data word appearing on said bus can be stored in register 22 at a clock signal and by activating the selector line. This signal is normally generated in the microprocessor, not shown, in the system. A second set of inputs, RO-R15, to the elements R0-R15 in the register 22 is cross-connected to the outputs DO-D15 of the network 20. These cross-connections are represented by the crossing arrows 24.

Utgången DO är effektivt kopplad till ingången Rl5, Dl till Rl4, D2 till Rl3, D3 till Rl2, D4 till R ll ... och D15 till RO. Registret 22 lagrar således spegelbilden av det binära dataord som uppträder vid utgången hos nätet 20.The output DO is effectively connected to the input R15, D1 to R14, D2 to R13, D3 to R12, D4 to R11 ... and D15 to RO. The register 22 thus stores the mirror image of the binary data word appearing at the output of the network 20.

Utgångarna från elementen RO-R15 i registret 22 är kopplade till en buss 23, vilken tjänstgör som utgångsdata- buss för anordningen och även för att till ingången hos I skiftnätet 22 återmata det binära dataord som uppträder vid utgången hos registret 22. ' Det inses, att ingångsdatabussen endast är kopplad till ingången hos registret 22 ur praktisk synpunkt. Den kan likaväl vara direkt förbunden med ingången hos skiftnä- tet 20. 7806741-0 Funktion En bättre förståelse av den ovan beskrivna kretsen kan erhållas från följande beskrivning av funktionen i sam- band med tidsdiagrammet i figur 4 och de i figur 5-7 illust- rerade exemplen.The outputs of the elements RO-R15 in the register 22 are connected to a bus 23, which serves as the output data bus for the device and also to feed back to the input of the shift network 22 the binary data word which appears at the output of the register 22. ' that the input data bus is only connected to the input of the register 22 from a practical point of view. It may just as well be directly connected to the input of the shift network 20. Function A better understanding of the circuit described above can be obtained from the following description of the function in connection with the timing diagram in Figure 4 and those illustrated in Figures 5-7. - examples.

Det binära ordet som skall skiftas pålägges ledningar- na0-l5 i ingångsdatabussen. Samtidigt aktiveras väljarled- ningen (en nivå) och datafältet för skiftstorleken sänds till skiftstyrkretsen 21. Vid uppträdandet av nästa klockpuls (to i figur 4) aktiveras de lämpliga nivåerna i skiftnätet 20, varvid det binära dataoräet på ingångsdatabussen lagras i registret 22 och uppträder vid ingången hos nätet 20 via bussen 23 och fortplantas därigenom. Vid nästa klockpuls (tl i figur 4) lagras nämnda data i registret 22 och upprepas operationen bortsett från att väljarstyrledningen ej aktive- ras (0-nivân). Figur 5-7 illustrerar operationen på ett bi- närt ord för uppnående av olika funktioner.The binary word to be shifted is applied to the lines 0-15 in the input data bus. At the same time, the selector line (one level) is activated and the data field for the shift size is sent to the shift control circuit 21. At the occurrence of the next clock pulse (two in Figure 4), the appropriate levels are activated in the shift network 20, the binary data array on the input data bus being stored in register 22. the entrance of the network 20 via the bus 23 and is thereby propagated. At the next clock pulse (tl in Figure 4), said data is stored in the register 22 and the operation is repeated except that the selector control line is not activated (0 level). Figure 5-7 illustrates the operation on a secondary word to achieve different functions.

Figur 5 illustrerar operationen på ett binärt ord för att uppnå en skiftning åt vänster med 7 positioner. Vid den första passagen genom anordningen skiftas det binära ordet åt vänster 7 positioner (nivåerna l, 2 och 3 aktiveras), varvid emellertid det resulterande ordet spegelavbildas i registret 22 till följd av korsförbindningarna 24. Vid den andra passagen aktiveras ej skiftnätet i någon nivå och till följd av korsförbindningarna 24 innehåller registret 22 det önskade binära dataordet, vilket är tillgängligt på utgångs- databussen.Figure 5 illustrates the operation on a binary word to achieve a shift to the left by 7 positions. At the first passage through the device, the binary word is shifted to the left 7 positions (levels 1, 2 and 3 are activated), however, the resulting word is mirror-mapped in the register 22 due to the cross-connections 24. At the second passage the shift network is not activated at any level and due to the cross-connections 24, the register 22 contains the desired binary data word, which is available on the output data bus.

Figur 6 illustrerar operationen på ett binärt ord för att uppnå en skiftning åt höger med 9 positioner. Vid den första passagen genom nätet aktiveras ej någon av nivåerna, men till följd av korsförbindningarna 24 är det binära ordet i registret 22 spegelbilden av det binära ordet på ingångs- databussen. vid den andra passagen genom nätet 20 skiftas det binära dataordet i registret 22 åt vänster 9 positioner (nivåerna l och 4 är aktiverade) och lagras det åter i re- gistret 22 via korsförbindningarna 24. Det binära dataordet _ i registret 22 representerar en skiftning på 9 positioner 7806741-0 åt höger relativt det ursprungliga binära dataordet och är nu tillgängligt på utgångsdatabussen.Figure 6 illustrates the operation on a binary word to achieve a shift to the right by 9 positions. At the first passage through the network, none of the levels is activated, but due to the cross-connections 24, the binary word in the register 22 is the mirror image of the binary word on the input data bus. at the second passage through the network 20, the binary data word in the register 22 is shifted to the left 9 positions (levels 1 and 4 are activated) and is stored again in the register 22 via the cross-connections 24. The binary data word _ in the register 22 represents a shift of 9 positions 7806741-0 to the right relative to the original binary data word and is now available on the output data bus.

Figur 7 illustrerar operationen på ett binärt data- ord för att uppnå isolering av ett datafält inom ordet. Det är önskvärt att isolera ett datafält innefattande bitarna 3-6 av det binära ordet och att placera detta vid de minst signifikanta positionerna i ordet. Vid den första passagen genom nätet skiftas ordet 9 positioner åt vänster (nivåer 1 och 4 aktiverade) och till följd av korsförbindningarna 24 innefattar det resulterande dataordet i registret 22 spegel- bilden av datafältet beläget vid de minst signifikanta posi- tionerna med bitarna 0, l och 2 därintill. Dessa avlägsnas från ordet genom förnyad passage genom skiftnätet med en skiftning åt vänster på 12 positioner (nivåer 3 och 4 akti- verade). Det resulterande binära ordet i registret 22 inne- håller det önskade datafältet beläget vid de minst signifi- kanta positionerna av ordet med de återstående bitarna av ordet i form av nollor.Figure 7 illustrates the operation of a binary data word to achieve isolation of a data field within the word. It is desirable to isolate a data field comprising bits 3-6 of the binary word and to place it at the least significant positions in the word. At the first passage through the network, the word 9 positions are shifted to the left (levels 1 and 4 activated) and as a result of the cross-connections 24, the resulting data word in the register 22 includes the mirror image of the data field located at the least significant positions with bits 0, 1 and 2 in addition. These are removed from the floor by re-passing through the shift net with a shift to the left of 12 positions (levels 3 and 4 activated). The resulting binary word in register 22 contains the desired data field located at the least significant positions of the word with the remaining bits of the word in the form of zeros.

Generellt kan kretsens funktion summeras på följande sätt. För en skiftning åt vänster Y bitpositioner av ett binärt ord med N-bitar skiftas det binära ordet Y positioner åt vänster vid den första passagen genom kretsen och skiftas det 0 positioner under den andra passagen. För en skiftning ät höger X bitpositioner skiftas det binära ordet O bitar vid den första passagen genom kretsen och skiftas det X positioner åt vänster under den andra passagen. Om det är önskvärt att isolera och justera ett datafält med W-bitar åt höger, vilket fält befinner sig D bitpositioner från den mest signifikanta änden av ordet, skiftas det binära ordet D positioner vid den första passagen genom kretsen och skiftas det N-W positioner vid den andra passagen.In general, the function of the circuit can be summed up as follows. For a shift to the left Y bit positions of a binary word with N-bits, the binary word Y positions are shifted to the left at the first pass through the circuit and 0 positions are shifted during the second pass. For a shift to the right X bit positions, the binary word O bits is shifted at the first pass through the circuit and X positions are shifted to the left during the second pass. If it is desired to isolate and adjust a data field with W-bits to the right, which field is D bit positions from the most significant end of the word, the binary word D positions are shifted at the first pass through the circuit and NW positions are shifted at the second passage.

Såsom framgår av exemplen ovan kräver varje skift- funktion åt vänster eller höger och varje datafältsisole- rings- eller maskeringsfunktion två passager genom anord- ningen. Dessa motsvarar två mikroinstruktioner hos en mikro- processor, som med nuvarande teknik enkelt kan arbeta på en . _..._..._......... 7806741-0 basis av 50 nanosekunder per instruktion. Således åstad- dkommes enligt uppfinningen en dubbelriktad parallell skif- tare och databehandlingskrets, vilken utför alla sina avsedda funktioner under en konstant tid och under minimal realtid.As can be seen from the examples above, each shift function to the left or right and each data field isolation or masking function requires two passages through the device. These correspond to two microinstructions of a microprocessor, which with current technology can easily work on one. _..._..._......... 7806741-0 basis of 50 nanoseconds per instruction. Thus, according to the invention, a bidirectional parallel shifter and data processing circuit is provided, which performs all its intended functions for a constant time and for minimal real time.

Den har vidare fördelarna av att vara enkel och ekonomisk, vartill den kan åstadkommas under utnyttjande av kommersiellt tillgängliga lagerkomponenter. Dessa fördelar erhålles delvis beroende_på att endast den hårdvara som krävs för skiftning i en riktning erfordras.It further has the advantages of being simple and economical, to which it can be achieved using commercially available bearing components. These advantages are obtained in part due to the fact that only the hardware required for shifting in one direction is required.

Den ovan beskrivna utföringsformen av uppfinningen ut- nyttjar ett skiftnät för skiftning av ett binärt dataord åt vänster. Det inses, att uppfinningen lika väl lämpar sig för en skiftningsanordning utnyttjande ett till höger skiftande nätverk. Det kräver endast en invertering och ett utbyte av skiftningsfunktioner för de första och andra passagerna genom anordningen. Låt oss exempelvis betrakta fallet enligt figur 5, där det är önskvärt att erhålla en skiftning pâ 7 positio- ner åt vänster under utnyttjande av ett till höger skiftande nät. Vid den första passagen genom nätet aktiveras ej någon av nivåerna (ingen skiftning) och ordet i registret 22 utgör spegelbilden av originalordet. Vid den andra passagen skiftas ordet i registret 22 7 positioner till höger och spegelvänds till följd av korsförbindningarna 24. Det resulterande ordet i registret 22 representerar en skiftning åt vänster 7 posi- tioner relativt originalordet. Givetvis inses att om ett till höger skiftande nät utnyttjas resulterar maskeringsfunktionen i att bitarna i det isolerade fältet justeras åt vänster, dvs fältet upptar de mest signifikanta positionerna i ordet i ackumulatorregistret.The above-described embodiment of the invention utilizes a shift network for shifting a binary data word to the left. It will be appreciated that the invention is equally suitable for a shifting device utilizing a right shifting network. It requires only an inversion and a replacement of shift functions for the first and second passages through the device. Let us consider, for example, the case according to Figure 5, where it is desirable to obtain a shift of 7 positions to the left using a shifting net to the right. At the first passage through the network, none of the levels is activated (no shift) and the word in the register 22 constitutes the mirror image of the original word. At the second passage, the word in register 22 shifts to 7 positions to the right and is mirrored as a result of the cross-links 24. The resulting word in register 22 represents a shift to the left 7 positions relative to the original word. Of course, it is understood that if a right-shifting network is used, the masking function results in the bits in the isolated field being adjusted to the left, ie the field occupies the most significant positions in the word in the accumulator register.

Claims (6)

78067h1'Û Patentkrav78067h1'Û Patentkrav 1. Sätt för skiftning av ett inkommande binärt dataord med N bitar varje antal upptill N -1 positioner åt vänster eller höger under utnyttjande av ett skiftnät (20) inrättat att skifta ett binärt ord varje antal upp till N -1 positio- ner i endast en förutbestämd riktning, k ä n n e t e c k- n a t av att det inkommande binära ordet bringas passera genom skiftnätet (20) en första gång för att bibringa detta en första positionsskiftning i den ena riktningen, att de relativa positionerna för bitarna i det binära ordet som erhålles från den första passagen ändras för bildande av ordets spegelbild, att spegelbilden av ordet bringas passera genom nätet för att bibringa detta en andra posi- tionsskiftning i nämnda ena riktning, samt att de relativa positionerna för bitarna i det binära ordet som erhålles från den andra passagen genom nätet ändras för bildande av detta ords spegelbild, varigenom det erhållna andra spegelbildsordet representerar den önskade posítionsskift- ningen åt vänster eller höger av det ursprungliga binära ordet.1. For shifting an incoming binary data word by N bits each number up to N -1 positions to the left or right using a shift network (20) arranged to shift a binary word each number up to N -1 positions in only a predetermined direction, characterized in that the incoming binary word is passed through the shift network (20) for the first time to impart to it a first position shift in one direction, that the relative positions of the bits in the binary word obtained from the first passage is changed to form the mirror image of the word, that the mirror image of the word is passed through the network to give it a second position shift in said one direction, and that the relative positions of the bits in the binary word obtained from the second passage through the network is changed to form the mirror image of this word, whereby the obtained second mirror image word represents the desired position shift to the left or you right of the original binary word. 2. Parallell dubbelriktad skiftkrets för skiftning av ett binärt dataord med N bitar varje antal upp till N -1 positioner åt vänster eller höger, k ä n n e t e c k n a d av att den innefattar ett skiftnät (20) för skiftning av ett binärt dataord varje antal upp till N -1 positioner i en i förväg bestämd riktning, vilket skiftnät har N utgångsled- ningar, och ett dataregister (22) med N lagringspositioner och N ingångsledningar, att utgångsledningarna från skift- nätet är korskopplade till ingångsledningarna hos registret, så att ett binärt ord som lagras i detta från skiftnätet bildar spegelbilden av det binära ordet som uppträder vid nätets utgång, samt att registrets utgång är tillbakakopplad till ingången hos skiftnätet (20).Parallel bidirectional shift circuit for shifting a binary data word by N bits of any number up to N -1 positions to the left or right, characterized in that it comprises a shift network (20) for shifting a binary data word any number up to N -1 positions in a predetermined direction, which shift network has N output lines, and a data register (22) with N storage positions and N input lines, that the output lines from the shift network are cross-connected to the input lines of the register, so that a binary word such as stored in this from the shift network forms the mirror image of the binary word that appears at the output of the network, and that the output of the register is fed back to the input of the shift network (20). 3. Krets enligt krav 2, k ä n n e t e c k n a d av att skiftnätwt (20) har ett flertal skiftnivåer (A,B, C,D), '78Û67ë1-0 10 var och en innefattande ett flertal grindar (O-15), att grin- darna i varje nivå hos nätet (20) är logiskt förbundna med I grindarna i den föregående nivån för skiftning av ett binärt dataord vid utgången hos denna ett förutbestämt antal posi- tioner i en i förväg bestämd riktning, att grindarna i varje nivå även är logiskt förbundna med grindarna i den föregående nivån för överföring av ett binärt dataord vid utgången hos denna utan positionsförskjutning, och att kretsen vidare innefattar organ för mottagande av signaler (S1, S2, S4, S8) för styrning av operationen hos grindarna i varje nivå.Circuit according to claim 2, characterized in that the shift network (20) has a plurality of shift levels (A, B, C, D), each comprising a plurality of gates (O-15), the gate the gates in each level of the network (20) are logically connected to the gates in the previous level for shifting a binary data word at the output of this a predetermined number of positions in a predetermined direction, that the gates in each level are also logically connected to the gates in the previous level for transmitting a binary data word at the output thereof without position shift, and that the circuit further comprises means for receiving signals (S1, S2, S4, S8) for controlling the operation of the gates in each level. 4. Krets enligt krav 3, k ä n n e t e c k n a d av att var och en av grindarna i varje nivå hos skiftnätet ut- göres av en dataväljningsgrind med dubbel ingång.Circuit according to Claim 3, characterized in that each of the gates in each level of the shift network consists of a data selection gate with a double input. 5. Krets enligt krav 4, k ä n n e t e c k n a d av att den innefattar ett flertal in- och utgångsanslutningar (O-15) för sammankoppling med in- respektive utgângsdata- bussar, att varje lagringselement (RO-R15) i dataregistret (22) innefattar en datväljningsgrind med dubbel ingång, vil- ken har en första ingång kopplad till en av nämnda ingångs- anslutningar (0-15), en andra ingång korskopplad till skiftnätet (RO/D15 - R15/DO), och en utgång kopplad till ingången hos lagringselementet, varvid utgången hos varje lagringselement (RO-R15) även är kopplad till en respektive av utgångsanslutningarna, samt att kretsen vidare innefattar organ för mottagande av signaler för styrning av opera- tionen hos dataväljningsgrindarna.Circuit according to claim 4, characterized in that it comprises a plurality of input and output connections (O-15) for interconnection with input and output data buses, respectively, that each storage element (RO-R15) in the data register (22) comprises a data selection gate with double input, which has a first input connected to one of said input connections (0-15), a second input cross-connected to the shift network (RO / D15 - R15 / DO), and an output connected to the input of the storage element , wherein the output of each storage element (RO-R15) is also connected to a respective one of the output connections, and that the circuit further comprises means for receiving signals for controlling the operation of the data selection gates. 6. Krets enligt krav 5, k ä n n e t e c k n a d av att den innefattar organ (21) för mottagande av signaler för styrning av lagringen av ett ingängsdataord i data- registret och för cirkulering av ordet två gånger genom skiftnätet och dataregistret.Circuit according to claim 5, characterized in that it comprises means (21) for receiving signals for controlling the storage of an input data word in the data register and for circulating the word twice through the shift network and the data register.
SE7806741A 1977-06-16 1978-06-09 SET FOR CHANGING A INCOMING BINED DATA WORD AND A PARALLEL DOUBLE-DIRECT SHIFT CIRCUM FOR IMPLEMENTATION OF THE SET SE438044B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA280,669A CA1076708A (en) 1977-06-16 1977-06-16 Parallel bidirectional shifter

Publications (2)

Publication Number Publication Date
SE7806741L SE7806741L (en) 1978-12-17
SE438044B true SE438044B (en) 1985-03-25

Family

ID=4108895

Family Applications (1)

Application Number Title Priority Date Filing Date
SE7806741A SE438044B (en) 1977-06-16 1978-06-09 SET FOR CHANGING A INCOMING BINED DATA WORD AND A PARALLEL DOUBLE-DIRECT SHIFT CIRCUM FOR IMPLEMENTATION OF THE SET

Country Status (5)

Country Link
JP (1) JPS6036612B2 (en)
CA (1) CA1076708A (en)
FR (1) FR2394869A1 (en)
GB (1) GB1575158A (en)
SE (1) SE438044B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5988974A (en) * 1997-03-21 1999-11-23 Zackovich; Stanley E. Vehicle lifting and towing apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56109156U (en) * 1980-01-18 1981-08-24
JPS58144947A (en) * 1982-02-23 1983-08-29 Toshiba Corp Data shifting system
JPS59161731A (en) * 1983-03-07 1984-09-12 Hitachi Ltd Barrel shifter
JPS60179839A (en) * 1984-02-28 1985-09-13 Fujitsu Ltd Data shift circuit for processing digital signal
JPH02145364A (en) * 1988-11-28 1990-06-04 Olympus Optical Co Ltd Recoding head

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3781819A (en) * 1971-10-08 1973-12-25 Ibm Shift unit for variable data widths
US3768077A (en) * 1972-04-24 1973-10-23 Ibm Data processor with reflect capability for shift operations

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5988974A (en) * 1997-03-21 1999-11-23 Zackovich; Stanley E. Vehicle lifting and towing apparatus

Also Published As

Publication number Publication date
JPS546740A (en) 1979-01-19
FR2394869B1 (en) 1984-10-26
SE7806741L (en) 1978-12-17
GB1575158A (en) 1980-09-17
CA1076708A (en) 1980-04-29
JPS6036612B2 (en) 1985-08-21
FR2394869A1 (en) 1979-01-12

Similar Documents

Publication Publication Date Title
US4122534A (en) Parallel bidirectional shifter
EP0047440A1 (en) Shift circuit
US4851995A (en) Programmable variable-cycle clock circuit for skew-tolerant array processor architecture
US5214747A (en) Segmented neural network with daisy chain control
US3636519A (en) Information processing apparatus
US3713096A (en) Shift register interconnection of data processing system
JPS58500424A (en) integrated circuit device
EP0128194A1 (en) Programmed logic array.
KR970062893A (en) Data processing device and data processing method
SE438044B (en) SET FOR CHANGING A INCOMING BINED DATA WORD AND A PARALLEL DOUBLE-DIRECT SHIFT CIRCUM FOR IMPLEMENTATION OF THE SET
US4488229A (en) PLA-Based finite state machine with two-level control timing and same-cycle decision-making capability
DE3930313C2 (en)
US3436737A (en) Shift enable algorithm implementation means
KR0177985B1 (en) Vector data adjusting device of processor
US4162519A (en) Data processor with address allocation to operations
US20040054818A1 (en) Flexible results pipeline for processing element
US4651301A (en) Circuit arrangement for performing rapid sortation or selection according to rank
KR930006539A (en) adder
US4009468A (en) Logic network for programmable data concentrator
JP3321926B2 (en) Self-synchronous semiconductor integrated circuit device
US6198305B1 (en) Reduced area product-term array
EP1308835B1 (en) SIMD addition circuit
JP3481445B2 (en) Competition mediation method
EP0356940B1 (en) Finite state machine
KR970005175A (en) Multiplication / Division Sharing Handler Structure Based on Pipeline Structure

Legal Events

Date Code Title Description
NUG Patent has lapsed

Ref document number: 7806741-0

Effective date: 19900522

Format of ref document f/p: F