CS219975B1 - Control unit for connecting the periphery devices to the computers - Google Patents

Control unit for connecting the periphery devices to the computers Download PDF

Info

Publication number
CS219975B1
CS219975B1 CS362681A CS362681A CS219975B1 CS 219975 B1 CS219975 B1 CS 219975B1 CS 362681 A CS362681 A CS 362681A CS 362681 A CS362681 A CS 362681A CS 219975 B1 CS219975 B1 CS 219975B1
Authority
CS
Czechoslovakia
Prior art keywords
input
output
inputs
counter
flip
Prior art date
Application number
CS362681A
Other languages
Czech (cs)
Inventor
Petr Nevicky
Vaclav Jirovsky
Miloslav Sova
Original Assignee
Petr Nevicky
Vaclav Jirovsky
Miloslav Sova
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 Petr Nevicky, Vaclav Jirovsky, Miloslav Sova filed Critical Petr Nevicky
Priority to CS362681A priority Critical patent/CS219975B1/en
Publication of CS219975B1 publication Critical patent/CS219975B1/en

Links

Landscapes

  • Bus Control (AREA)

Description

Vynález řeší řadič pro připojování periferních zařízení k selektorovým, anebo multiplexním kanálům počítačů, jejichž interface je paralelní a asynchronní, založený na principu dotaz — odpověď.The invention solves a controller for connecting peripheral devices to selector or multiplex channels of computers whose interfaces are parallel and asynchronous, based on the principle of query-response.

U běžně vyráběných počítačů se styk počítače s periferním zařízením provádí podle přesně definovaného protokolu, který u některých počítačů může být značně složitý. Pro realizaci spojení podle daného protokolu se periferní zařízení vybavují blokem určeným pro spojení s kanálem. Tento blok se vzhledem k potřebné rychlosti komunikace řeší pomocí integrovaných obvodů a dalších elektronických součástek a jeho schéma zapojeni je pevně dáno jednak příslušným protokolem zapojení a jednak daným periferním zařízením. Ve výpočetních střediscích často vzniká potřeba připojit k počítači zařízení, která nejsou pro daný počítač určena, u kterých je tedy zapojení bloku pro spojení s kanálem odlišné.In the case of commonly manufactured computers, the contact between the computer and the peripheral device is carried out according to a well-defined protocol, which for some computers can be quite complex. To realize the connection according to the protocol, the peripheral devices are equipped with a block intended for connection to the channel. Due to the required communication speed, this block is solved using integrated circuits and other electronic components and its wiring diagram is fixed by the respective wiring protocol and by the given peripheral device. In computer centers, there is often a need to connect non-dedicated devices to the computer, where the connection of the channel connection block is different.

Uvedený problém odstraňuje řadič pro připojování periferních zařízení k počítači podle vynálezu, jehož podstata spočívá v tom, že je tvořen přijímacími zesilovači, jež jsou prostřednictvím sběrnice dat a sběrnice řídicích signálů spojeny s dekodérem vstupních sběrnic, jehož výstup dat je spojen s blokem pro spojení s přídavným zařízením, jenž je propojen s blokem registrů, který je prostřednictvím sběrnic dat a sběrnic řídicích signálů spojen s vysílacími zesilovači, přičemž dekodér vstupní sběrnice, blok registrů a blok pro spojení s přídavným zařízením jsou napojeny na blok řízení, který je spojen s pamětí.The problem is eliminated by a controller for connecting peripheral devices to a computer according to the invention, which consists of receiving amplifiers which are connected via a data bus and a control signal bus to an input bus decoder whose data output is connected to a block for connection to a an auxiliary device that is coupled to a register block that is connected to transmit amplifiers via data buses and control signal buses, wherein the input bus decoder, the register block, and the auxiliary connection block are coupled to a control block that is connected to the memory.

Podle význaku vynálezu je blok řízení tvořen multiplexorem, jehož adresové vstupy jsou spojeny s prvním až pátým nastavovacím vstupem čítače a jehož výstup je spojen s nastavovacím vstupem prvního D-klopného obvodu, jehož výstup je připojen na první vstup prvního obvodu logické ekvivalence, na jehož druhý vstup je napojen výstup druhého D-klopného obvodu, jehož nastavovací vstup je spojen s šestým nastavovacím vstupem čítače. Výstup prvního obvodu logické ekvivalence je napojen na první vstup prvního obvodu logického součinu, jehož druhý vstup je připojen na výstuip a na K-vstup JK-klopného obvodu, jehož negovaný J-vstup je spojen s osmým nastavovacím vstupem čítače. Výstup prvního obvodu logického součinu je připojen na negovaný první vstup třetího obvodu logické ekvivalence. Na první vstup druhého obvodu logické ekvivalence, jejichž druhé vstupy jsou připojeny na generátor, k němuž jsou idále připojeny synchronizační vstup JK-klopného obvodu, přes invertor synchronizační vstupy prvního D-klopného obvodu, druhého D-klopného obvodu a třetího D-klopného obvodu, přes invertor synchronihého obvodu logického součinu, třetího obvodu logického součinu a čtvrtého obvodu logiokého součinu, jejichž první vstupy jsou vzájemně propojeny, třetí vstupy jsou spojeny se sedmým nastavovacím vstupem čítače. Čtvrté vstupy jsou spojeny s osmým nastavovacím vstupem čítače a páté vstupy třetího a čtvrtého obvodu logického součinu jsou spojeny s šestým nastavovacím vstupem čítače. Výstup druhého obvodu logického součinu je připojen na vstup informace prvního demultiplexoru, výstup třetího obvodu logického součinu je připojen na vstup informace druhého demultiplexoru a výstup čtvrtého obvodu logického součinu je připojen na vstup informace třetího demultiplexoru. Adresové vstupy prvního, druhého a třetího demultiplexoru jsou spojeny s prvním až pátým nastavovacím vstupem čítače. Výstup třetího obvodu logické ekvivalence je připojen na vstup čítaných impulsů čítače, výstup druhého obvodu logické ekvivalence je připojen na vstup pro synchronní nastavení čítače. Přes invertor je tento výstup druhého obvodu logické ekvivalence připojen na synchronizační vstup D-klopného obvodu s nastavovacím asynchronním vstupem a tento nastavovací asynchronní vstup je spojen s výstupem pro přenos do dalšího řádku čítače. Dále je nastavovací vstup D-klopného obvodu s nastavovacím asynchronním vstupem spojen s výstupem třetího D-kloípného obvodu, jehož nastavovací vistuip je spojen se sedmým nastavovacím vstupem čítače. Jednotlivé výstupy druhého demultiplexoru jsou připojeny na nastavovací vstupy RS-klopných obvodů, na jejichž nulovací vstupy jsou připojeny jednotlivé výstupy třetího demultiplexoru.According to a feature of the invention, the control block is formed by a multiplexer whose address inputs are coupled to the first to fifth counter input inputs and whose output is coupled to the input input of the first D-flip-flop whose output is connected to the first input of the first logical equivalence circuit. the input is connected to the output of the second D-flip-flop, whose setting input is connected to the sixth setting input of the counter. The output of the first logic equivalence circuit is connected to the first input of the first logic product circuit, the second input of which is connected to the output and to the K-input of the JK-flip-flop whose negated J-input is connected to the eighth counter input. The output of the first logic product circuit is connected to the negated first input of the third logic equivalence circuit. To the first input of the second logic equivalence circuit, the second inputs of which are connected to a generator to which the JK flip-flop synchronization input is connected, through the inverter, the first D-flip-flop, the second D-flip-flop, and the third D-flip-flop. via the inverter of the synchronous logic product circuit, the third logic product circuit and the fourth logioc product, whose first inputs are interconnected, the third inputs are connected to the seventh counter input input. The fourth inputs are coupled to the eighth counter setting input, and the fifth inputs of the third and fourth logic products are coupled to the sixth counter setting input. The output of the second logical product circuit is connected to the input of the first demultiplexer information, the output of the third logical product circuit is connected to the input of the second demultiplexer information, and the output of the fourth logical product circuit is connected to the input of the third demultiplexer information. The address inputs of the first, second and third demultiplexers are coupled to the first to fifth counter input inputs. The output of the third logical equivalence circuit is connected to the counter count pulse input, the output of the second logical equivalence circuit is connected to the counter synchronous setting input. Via the inverter, this output of the second logic equivalence circuit is connected to a D-flip-flop synchronization input with a set-up asynchronous input and this set-up asynchronous input is connected to an output for transmission to the next row of the counter. Further, the D-flip-flop setting input with the asynchronous input setting is coupled to the output of the third D-flip-flop, whose setup vistuip is coupled to the seventh counter input input. Individual outputs of the second demultiplexer are connected to the setting inputs of RS-flip-flops, to whose reset inputs the individual outputs of the third demultiplexer are connected.

Hlavním problémem je rychlost řadiče, nebol styk periferních zařízení s počítačem je časově rozdělen na krátké úseky, trvající max. několik desítek ^s, během kterých se musí provést až 100 instrukci, v závislosti na složitosti spojovacího protokolu.The main problem is the speed of the controller, because the interface of the peripheral devices with the computer is divided into short sections, lasting up to several tens of seconds, during which up to 100 instructions must be executed, depending on the complexity of the connection protocol.

Řadič podle vynálezu je programovatelný pomocí těchto instrukcí:The controller according to the invention is programmable using the following instructions:

Podmíněný skok — tato instrukce umožňuje porovnat jednu ze 31 úrovní, např. úrovně na řídicích vodičích od kanálu počítače, s úrovní očekávanou, která je zadaná v instrukci.Conditional Jump - This instruction allows you to compare one of the 31 levels, eg the levels on the control wires from the computer channel, to the expected level that is specified in the instruction.

V případě shody se provede skok na adresu uvedenou v instrukci. Adresa obsahuje max. 9 bitů. V případě neshody program pokračuje následující instrukcí.In case of a match, jump to the address specified in the instruction. The address contains a maximum of 9 bits. In the event of a mismatch, the program continues with the following instruction.

Nepodmíněný skok — tato instrukce provede skok na adresu, která je v ní uvedena, max. adresa má 9 bitů. Nastavení klopného obvodu — tato instrukce umožňuje nastavit, případně znulovat jeden z 32 klopných obvodů, například klopné obvody ovládající výstupní vodiče od periferního zařízení k počítači, anebo klopné obvody pro zapamatování vnitřních stavů řadiče.Unconditional jump - this instruction executes a jump to the address specified in it, max address has 9 bits. Flip Circuit Setting - This instruction allows you to set or reset one of the 32 flip-flops, such as flip-flops controlling the output wires from the peripheral to the computer, or flip-flops to remember the internal states of the controller.

Generování impulsu —tato instrukce umožňuje generovat jeden z 31 impulsů o délce trvání 50 nS. Pomocí těchto impulsů mohou být například nulovány registry, nastavovány a nulovány klopné obvody v registrech apod.Pulse Generation — This instruction allows you to generate one of 31 pulses of 50 nS duration. These pulses can be used to reset registers, set and reset flip-flops in registers, etc.

Prázdná instrukce — tato instrukce způsobí v provádění programu pouze časovou prodlevu 200 nS.Empty instruction - this instruction causes only a time delay of 200 nS in program execution.

Řadič dále umožňuje asynchronní přerušení jeho činnosti, tj. návrat na počáteční adresu v případě určitých podmínek vzniklých při spolupráci s kanálem. Délka řídicího slova může být různá, pro lepší názornost se při popisu jednotlivých instrukcí vychází z konkrétní aplikace, u které je řídicí slovo dlouhé 8 bitů. Doba provádění jednotlivých instrukcí je závislá na použité součástkové základně.Furthermore, the controller allows asynchronous interruption of its operation, i.e., return to the start address in case of certain conditions arising from the cooperation with the channel. The length of the control word can be different, for better clarity the description of the individual instructions is based on a specific application in which the control word is 8 bits long. The execution time of individual instructions depends on the component base used.

Vynález je blíže ojasněn na příkladu provedení pomocí výkresů, na nichž obr. 1 znázorňuje blokové schéma zapojení řadiče podle vynálezu a obr. 2 znázorňuje schéma zapojení bloku řízení pro verzi s osmibitovým řídicím slovem.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a controller of the present invention; and FIG. 2 is a diagram of a control block for an eight-bit control word version.

Řadič pro připojování poriferních zařízení k počítači podle obr. 1 je tvořen přijímacími zesilovači 1, jež jsou prostřednictvím sběrnice dat a sběrnice řídicích signálů spojeny s dekodérem 3 vstupních sběrnic, jehož výstup dat je spojen s blokem 5 pro spojení s přídavným zařízením, jenž je propojen s blokem 4 registrů, který je prostřednictvím sběrnic dat a sběrnic řídicích signálů spojen s vysílacími zesilovači 2, přičemž dekodér 3 vstupních sběrnic, blok 4 registrů a blok 5 pro spojení s přídavným zařízením jsou napojeny na blok fi řízení, který je spojen s pamětí 7.The controller for connecting the peripheral devices to the computer according to FIG. 1 is formed by receiving amplifiers 1, which are connected via a data bus and a control signal bus to an input bus decoder 3, the data output of which is connected to a block 5 a register block 4 which is connected via the data bus and the control signal bus to the transmit amplifiers 2, the input bus decoder 3, the register block 4 and the auxiliary device block 5 being connected to a control block fi which is connected to the memory 7 .

Přijímací zesilovače 1 převádí elektrické úrovně signálů používané na sběrnicích kanálu na logické úrovně.The receiver amplifiers 1 convert the electrical signal levels used on the channel buses to logical levels.

Vysílací zesilovače 2 převádí logické úrovně na úrovně signálu sběrnic.The transmit amplifiers 2 convert the logical levels to the bus signal levels.

Dekodér 3 vstupních sběrnic obsahuje dekodér datové sběrnice kanálu, který je potřebný pro rozpoznání adresy periferního zařízení, kontrolu parity informace, kontrolu přípustnosti operace apod.The input bus decoder 3 comprises a channel data bus decoder, which is necessary for recognizing the address of the peripheral device, checking the parity of the information, checking the admissibility of the operation, and the like.

Blok 4 registrů obsahuje vyrovnávací registr dat a služební registry, například registr stavové informace, registr chyb apod. Zapojení uvedených bloků je závislé na konkrétním počítači, ke kterému je řadič podle vynálezu připojen.The register block 4 comprises a data buffer and service registers, for example a status information register, an error register and the like. The connection of said blocks depends on the particular computer to which the controller according to the invention is connected.

Blok 5 pro spojení s přídavným zařízením obsahuje vyrovnávací registry pro data, případně též dekodér řídicích signálů. Zapojení tohoto bloku je závislé na konkrétním připojovaném přídavném zařízení.Block 5 for connection to the auxiliary device comprises buffer registers for the data and possibly also a control signal decoder. The wiring of this block depends on the particular device to be connected.

Blok 6 řízení podle obr. 2 je tvořen multiplexorem 8, jehož adresové vstupy jsou spojeny s prvním až pátým nastavovacím vstupem čítače 20 a jehož výstup je spojen s nastavovacím vstupem prvního D-klopného obvodu 10, jehož výstup je připojen na první vstup prvního obvodu 14 logické ekvivalence, na jehož druhý vstup je napojen výstup druhého D-klopného obvodu 11, jehož nastavovací vstup je spojen s šestým nastavovacím vstupem čítače 20. Výstup prvního obvodu 14 logické ekvivalence je napojen na první vstup prvního obvodu 15 logického součinu, jehož druhý vstup je připojen na výstup a na K-vstup JK-klopného obvodu 12, jehož negovaný J-vstup je spojen s osmým nastavovacím vstupem čítače 20. Výstup prvního obvodu 15 logického součinu je připojen na negovaný první vstup třetího obvodu 16 logické ekvivalence. Na první vstup druhého obvodu 17 logické ekvivalence, jejichž druhé vstupy jsou připojeny na generátor 21, k němuž jsou dále připojeny synchronizační vstup JK-klopného obvodu 12, přes invertor 9 synchronizační vstupy prvního D-klopného obvodu 10, druhého D-klopného obvodu 11 a třetího D-klopného obvodu 13 a dále druhé vstupy druhého obvodu 22 logického součinu, třetího obvodu 23 logického součinu a čtvrtého obvodu 24 logického součinu, jejichž první vstupy jsou vzájemně propojeny, třetí vstupy jsou spojeny se sedmým nastavovacím vstupem čítače 20. Čtvrté vstupy jsou spojeny s osmým nastavovacím vstupem čítače 20 a páté vstupy třetího a čtvrtého obvodu 23 a 24 logického součinu jsou spojeny s šestým nastavovacím vstupem čítače 20. Výstup druhého obvodu 22 logického součinu je připojen na vstup informace prvního demultiplexoru 25, výstup třetího obvodu 23 logického součinu je připojen na vstup informace druhého demultiplexoru 26 a výstup čtvrtého obvodu 24 logického součinu je připojen na vstup informace třetího demultiplexoru 27. Adresové vstupy prvního, druhého a třetího demultiplexoru 25, 26, 27 jsou spojeny s prvním až pátým nastavovacím vstupem čítače 20. Výstup třetího obvodu 16 logické ekvivalence je připojen na vstup čítaných impulsů čítače 20, výstup druhého obvodu 17 logické ekvivalence je připojen na vstup pro synchronní nastavení čítače 20. Přes invertor 18 je tento výstup druhého obvodu 17 logické ekvivalence připojen na synchronizační vstup D-klopného obvodu 19 s nastavovacím asynchronním vstupem a tento nastavovací asynchronní vstup je spojem s výstupem pro přenos do dalšího řádku čítače 20. Dále je nastavovací vstup D-klopného obvodu 19 s nastavovacím asynchronním vstupem spojen s výstupem třetího D-klopného obvodu 13, jehož nastavovací vstup je spojen se sedmým nastavovacím vstupem čí219975 tače 20. Jednotlivé výstupy druhého demultiple .oru 26 jsou připojeny na nastavovací vstupy RS-kolpných obvodů 28 až 59, na jejichž nulovací vstupy jsou připojeny jednotlivé výstupy třetího demultiplexoru 27. Nastavovací vstupy čítače 20 jsou připojeny na řídicí výstupy paměti 7, jejíž adresové vstupy jsou připojeny na výstupy čítače 20.The control block 6 of FIG. 2 comprises a multiplexer 8 whose address inputs are connected to the first to fifth setting inputs of the counter 20 and whose output is connected to the setting input of the first D-flip-flop 10, the output of which is connected to the first input of the first circuit 14 the second input of which is connected the output of the second D-flip-flop 11, the setting input of which is connected to the sixth setting input of the counter 20. The output of the first logic equivalence circuit 14 is connected to the first input of the first logic product 15 of connected to the output and to the K-input of the JK flip-flop 12, whose negated J-input is connected to the eighth setting input of the counter 20. The output of the first logic product 15 is connected to the negated first input of the third logic equivalence circuit 16. To the first input of the second logic equivalence circuit 17, the second inputs of which are connected to a generator 21, to which the synchronization input of the JK-flip-flop 12 is further connected, through the inverter 9 the synchronization inputs of the first D-flip-flop 10, the second D-flip-flop 11 and the third D-flip-flop 13, and the second inputs of the second logic 22, the third logic 23, and the fourth logic 24, whose first inputs are interconnected, the third inputs are connected to the seventh counter input of the counter 20. The fourth inputs are connected with the eighth counter input 20 and the fifth inputs of the third and fourth logic product 23 and 24 are connected to the sixth counter input input 20. The output of the second logic product circuit 22 is connected to the information input of the first demultiplexer 25; to input information kind The output inputs of the first, second and third demultiplexers 25, 26, 27 are coupled to the first to fifth setting inputs of the counter 20. The output of the third logical equivalence circuit 16 is connected to the counted pulse input of the counter 20, the output of the second logic equivalence circuit 17 is connected to the input for synchronous adjustment of the counter 20. Through the inverter 18 this output of the second logic equivalence circuit 17 is connected to the synchronization input of the D-flip-flop 19 with the setting asynchronous input. the adjusting asynchronous input is connected to the output for transmission to the next row of the counter 20. Further, the adjusting input of the D-flip-flop 19 with the adjusting asynchronous input is connected to the output of the third D-flip-flop 13, the adjusting input of which is connected to the seventh adjusting input or 219975 t. The individual outputs of the second demultiplexer 26 are connected to the adjusting inputs of the RS-collapsing circuits 28 to 59, to whose reset inputs the individual outputs of the third demultiplexer 27 are connected. The adjusting inputs of the counter 20 are connected to the control outputs of the memory 7 whose address inputs they are connected to the outputs of the counter 20.

Pro každou konkrétní aplikaci je potřeb76543 2 10 222 2 2222For each specific application, 76543 2 10 222 2 2222 is needed

B ný počet vstupů multiplexoru 8 spojen s výstupy dekodéru 3 vstupních sběrnic, bloku 4 registrů a bloku 5 pro spojení s přídavnými zařízeními, stejně tak je s nimi spojen potřebný počet výstupů RS-klopných obvodů 28 až 59 a výstupů prvního demultiplexoru 25.The common number of inputs of the multiplexer 8 is connected to the outputs of the input bus decoder 3, the register block 4 and the block 5 for connection to the auxiliary devices, as well as the required number of RS-flip-flop 28 to 59 outputs and the outputs of the first demultiplexer 25.

Před vysvětlením činnosti bloku 6 řízení je popsáno 8bitové řídicí slovo.Before explaining the operation of the control block 6, an 8-bit control word is described.

číslo analýzy, povelu, anebo RS-klopného obvodunumber of analysis, command, or RS-flip-flop

-------V případě instrukce analýza je zde očekávaná úroveň.------- In the case of the analysis instruction, the expected level is here.

V případě instrukce RS-klopného obvodu znamená — nastavení RS-klopného obvodu 0 — znulování RS-klopného obvoduIn case of RS-flip-flop instruction - setting of RS-flip-flop 0 means - resetting of RS-flip-flop

V instrukci impuls se tento bit ignoruje.In the pulse instruction, this bit is ignored.

kod instrukce — instrukce impuls · 10— instrukce klopný obvod 0 X — instrukce skokcode instruction - instruction impulse · 10— instruction flip-flop 0 X - instruction jump

V případě instrukce skok je na následující adrese uložených nižších 8 bitý adresy skoku.In the case of a jump instruction, the lower 8 bit jump addresses are stored at the following address.

Instrukce nepodmíněný skok má tvar:The unconditional jump instruction has the form:

X 0 1 1 1 1 1, tj. analyzuje se vstup 31, který je trvale uzemněn, dojde tedy vždy ke shodě úrovní.X 0 1 1 1 1 1, ie the input 31, which is permanently grounded, is analyzed, so the levels always match.

Adresa — binárně Informace — binárněAddress - binary Information - binary

000000000000000000

000000001000000001

000000010000000010

000000011000000011

000000 100 000000101000000 100 000000101

0010110000101100

0000001100000011

1010010010100100

1100100011001000

1111111111111111

0101111101011111

000000110 01110000000000110 01110000

Před příchodem prvního synchronizačního impulsu je na výstupech z paměti 7 informace 0010110 0.Before the first synchronization pulse is received, information from the memory 7 is 0010110 0.

S náběžnou hranou synchroimpulsu se přičte 1 do čítače 20 adres a začne výběr nové informace. Informace na výstupu z paměti 7 zůstane však nezměněna po dobu min. 70 ns, danou zpožděním při změně hodnoty čítače 20 a zpožděním při výběru z paměti 7. S padající hranou prvního synchronizačního impulsu, jehož délka nesmí být větší než 50 nS, se nahodí druhý D-klopný obvod 11 a JK-klopný obvod 12, zapíše se 0 do D-klopného obvodu 19 s nastabit X má význam nejvysšího bitu adresy případného skokuWith the rising edge of the synchroimpulse, 1 is added to the address counter 20 and the selection of new information begins. However, the information output from memory 7 remains unchanged for min. With the falling edge of the first synchronization pulse, the length of which must not be greater than 50 nS, the second D-flip-flop 11 and the JK-flip-flop 12 will write, with 0 into the D-flip-flop 19 s to set X has the meaning of the highest bit of the jump address

Prázdná instrukce má tvar:The empty instruction has the form:

11111111 ,tj. provede se generace impulsu na výstup 31, který není zapojen Blok 6 řízení je ve výchozím stavu, tj. jsou znuloivány všechny RS-klopné obvody 28 až 59 a čítač 20 adres. Na počátečních adresách paměti je zapsána tato informace:11111111, ie. a pulse generation is made to output 31 which is not connected. The control block 6 is in the initial state, i.e. all RS-flip-flops 28-59 and address counter 20 are reset. The following information is written to the initial memory addresses:

Význam informace analýza dvanáctého vstupu multiplexoru 8 nižších 8 bitů adresy skoku nastavení čtvrtého RS-klopného obvodu 31 do 1 impuls na osmém výstupu prvního demultiplexoru 25 prázdná operace nepodmíněný skok na adresu 170 čítače vovacím asynchronním vstupem a podle úrovně na dvanáctém vstupu multiplexorú 8 se nastaví první D-klopný obvod 10.Meaning Information Analysis of the 12th Multiplexer Input 8 Lower 8 Bits Jump Address Setting the Fourth RS-Flip Circuit 31 to 1 Pulse on the Eighth Output of the First Demultiplexer 25 Empty Operation Unconditional Jump to Counter 170 by Incoming Asynchronous Input and First Level Multiplexer 8 Set First D-flip-flop 10.

Nahození JK-klopného obvodu 12 povolí činnost porovnávacího obvodu, který před příchodem druhého synchronizačního impulsu vyhodnotí, zda souhlasí úroveň zapsaná na prvním D-klopném obvodu 18 s úrovní zapsanou na druhém D-klopném obvodu 11. V případě shody vznikne signál 1 na výstupu prvního obvodu 15 logického součinu. V tomto případě přijde druhý synchronizační impuls na vstup pro synchronní nastavení čítače 28 a do čítače 28 se zapíše informace 0 0 0 0 0 0 1 1, která jeThrowing in the JK flip-flop 12 will allow the operation of the comparison circuit, which before the second synchronization pulse arrives, evaluates whether the level written on the first D flip-flop 18 matches the level written on the second D flip-flop 11. circuit 15 of the logic product. In this case, the second synchronization pulse arrives at the input for the synchronous setting of counter 28 and the counter 28 writes the information 0 0 0 0 0 0 1 1 which is

1 3 5 7 5 β1 3 5 7 5 β

nyní na výstupu z paměti 7. Nejvyšší bit adresy je zapamatován ve třetím D-klopném obvodu 13 a s náběžnou hranou druhého synehroimpulsu se přepíše do D-klopného vstupem. Stav třetího D-klopného obvodu 13 se může znovu změnit až s padající hranou druhého synehroimpulsu.now at the output of the memory 7. The highest bit of the address is memorized in the third D-flip-flop 13 and is written to the D-flip-flop with the rising edge of the second synehimpulse. The state of the third D-flip-flop 13 can only change again with the falling edge of the second synehro-pulse.

V tomto případě, kdy očekávaná úroveň byla shodná s úrovní na dvanáctém vstupu multiplexoru 8, bude tedy program pokračovat od adresy ,0 0 0 0 0 0 0 1 1. Pokud porovnávací obvod nevyhodnotí shodu úrovní, nevznikne 1 na prvním obvodu 15 logického součinu, s náběžnou hranou se do čítače 20 adresy přičte 1 a program pokračuje provedením, instrukce uložené na adrese 0 0 0 0 0 0 '0 1 0. Po ukončení druhého synchronizačního impulsu se s jeho padající hranou nuluje JK-klopný obvod 12. Tím je zablokována funkce porovnávacího obvodu a zároveň je povoleno provádění ostatních instrukcí. Blokování ostatních instrukcí po dobu provádění instrukce skok je nutné proto, aby nižších 8 bitů adresy skoku nebylo dekódováno jako instrukce.In this case, when the expected level was equal to the level on the 12th multiplexer 8 input, the program will continue from address 0 0 0 0 0 0 0 1 1. If the comparison circuit does not evaluate the level compliance, there is no 1 on the first circuit 15, with the rising edge, 1 is added to the address counter 20 and the program continues to execute, the instruction stored at address 0 0 0 0 0 0 '0 1 0. After the second synchronization pulse, the JK flip-flop 12 is reset with its falling edge. the function of the comparator circuit and at the same time the execution of other instructions is allowed. Blocking of other instructions while the jump instruction is executed is necessary so that the lower 8 bits of the jump address are not decoded as instructions.

Provádění instrukcí „impuls“ a „klopný obvod“ je zřejmé ze schématu. Pro provedení těchto instrukcí je nutné splnit tyto podmínky:The execution of the "pulse" and "flip-flop" instructions is clear from the diagram. To execute these instructions, the following conditions must be met:

1. Musí souhlasit kód instrukce.1. The instruction code must match.

2. Nesmí se provádět instrukce skok.2. Jump instructions must not be performed.

3. Musí přijít synchronizační impuls.3. There must be a synchronization pulse.

U instrukce „klopný obvod“ je nastavení, anebo shození klopného obvodu rozlišeno bitem č. 5.In the "flip-flop" instruction, the setting or dropping of the flip-flop is differentiated by bit # 5.

Na výstupu z paměti 7 není nutné používat vyrovnávací registr, neboť při použití běžných integrovaných obvodů nedojde ke změně výstupní informace dřív než za 70 nS po změně adresy. Čtení z paměti 7 je trvale povoleno a čtená informace se synchronizuje až v bloku 6 řízení. Klopné obvody 10, 11 a 13 se nenulují a mění svůj stav s každou padající hranou synchronizačního impulsu. Jejich stav má však význam pouze při provádění instrukce skok, tj. při nahození JK-klopného obvodu 12.It is not necessary to use a buffer register at the output of the memory 7, since the use of conventional integrated circuits does not change the output information before 70 nS after the address change. The read from memory 7 is permanently enabled and the read information is only synchronized in control block 6. The flip-flops 10, 11 and 13 do not reset and change their state with each falling edge of the sync pulse. However, their state is only relevant when executing the jump instruction, i.e. when the JK-flip-flop 12 is started.

Řadič podle vynálezu je možné využít i v některých aplikacích v měření, případně také řízení procesů. Dále lze řadič použít v opačné funkci, to je k imitaci kanálu počítače, například pro připojení řádkové tiskárny k mini- a mikropočítačům vybaveným standardní magnetickou páskou, což by umožnilo používat tuto konfiguraci pro off line tisky delších počítačových sestav.The controller according to the invention can also be used in some applications in measurement or process control. Furthermore, the controller can be used in the opposite function, that is, to imitate a computer channel, for example, to connect a line printer to mini- and microcomputers equipped with standard magnetic tape, which would allow this configuration to be used for off line printing of longer computer configurations.

Claims (2)

PŘEDMĚTSUBJECT 1. Řadič pro připojování periferních zařízení k počítači, vyznačující se tím, že je tvořen přijímacími zesilovači (1), jež jsou prostřednictvím sběrnice dat a sběrnice řídicích signálů spojeny s dekodérem (3) vstupních sběrnic, jehož výstup dat je spojen s blokem (5) pro spojení s přídavným zařízením, jenž je propojen s blokem (4) registrů, který je prostřednictvím sběrnic dat a sběrnic řídicích signálů spojen s vysílacími zesilovači (2J, přičemž dekodér (3) vstupní sběrnice, blok (4) registrů a blok (5) pro spojení s přídavným zařízením jsou napojeny na blok (6) řízení, který je spojen s pamětí (7).Controller for connecting peripheral devices to a computer, characterized in that it consists of receiving amplifiers (1) which are connected via a data bus and a control signal bus to an input bus decoder (3) whose data output is connected to a block (5) ) for connection to an auxiliary device which is connected to a register block (4), which is connected to transmit amplifiers (2J) by means of data buses and control signal buses, the input bus decoder (3), register block (4) and block (5) ) for connection to the auxiliary device are connected to a control block (6) which is connected to the memory (7). 2. Řadič podle bodu 1, vyznačující se tím, že blok (6) řízení je tvořen multiplexorem (8), jehož adresové vstupy jsou spojeny s prvním až pátým nastavovacím vstupem čítače (20) a jehož výstup je spojen s nastavovacím vstupem prvního D-klopného obvodu (10), jehož výstup je připojen na první vstup prvního obvodu (14) logické ekvivalence, na jehož druhý vstup je napojen výstup druhého D-klopného obvodu (11), jehož nastavovací vstup je spojen s šestým nastavovacím vstupem čítače (20) a výstup prvního obvodu (14) logické ekvivalence je napojen na první vstup prvního obvodu (15J logického součinu, jehož druhý vstup je připojen na výstup a na K-vstup JK-klopVYNALEZU ného obvodu (12), jehož negovaný J-vstup je spojen s osmým nastavovacím vstupem čítače (20) a výstup prvního obvodu (15) logického součinu je připojen na negovaný první vstup třetího obvodu (16) logické ekvivalence a na první vstup druhého obvodu (17) logické ekvivalence, jejichž druhé vstupy jsou připojeny na generátor (21), k němuž jsou dále připojeny synchronizační vstup JK-klopného obvodu (12), přes invertor (9) synchronizační vstupy prvního D-klopného obvodu (10J, druhého D-klopného obvodu (lij a třetího D-klopného obvodu (13J a dále druhé vstupy druhého obvodu (22) logického součinu, třetího obvodu (23) logického součinu a čtvrtého obvodu (24) logického součinu, jejichž první vstupy jsou vzájemně propojeny, třetí vstupy jsou spojeny se sedmým nastavovacím vstupem čítače (20), čtvrté vstupy jsou spojeny s osmým nastavovacím vstupem čítače (20) a páté vstupy třetího a čtvrtého obvodu (23 a 24 J logického součinu jsou spojeny s šestým nastavovacím vstupem čítače (20) a dále výstup druhého obvodu (22) logického součinu je připojen na vstup informace prvního demultiplexoru (25), výstup třetího obvodu (23) logického součinu je připojen na vstup informace druhého demultiplexoru (26J a výstup čtvrtého obvodu (24J logického součinu je připojen na vstup in219973 formace třetího demultiplexoru (27), zatímco adresové vstupy prvního, druhého a třetího demultiplexoru (25, 26 a 27) jsou spojeny s prvním až pátým nastavovacím vstupem čítače (20), přičemž výstup třetího obvodu (16) logické ekvivalence je připojen na vstup čítaných impulsů čítače (20), výstup druhého obvodu (17) logické ekvivalence je připojen na vstup pro synchronní nastavení čítače (20) a přes invertor (18) je tento výstup druhého obvodu (17) logické ekvivalence připojen na synchronizační vstup D-klopného obvodu (19) s nastavovacím asynchronním vstupem a tento nasta12 vovací asynchronní vstup je spojen s výstupem pro přenos do dalšího řádku čítače (20) a dále je nastavovací vstup D-klopného obvodu (19) s nastavovacím asynchronním vstupem spojen s výstupem třetího D-klopného obvodu (13), jehož nastavovací vstup je spojen se sedmým nastavovacím vstupem čítače (20), zatímco jednotlivé výstupy druhého demultiplexoru (26) jsou připojeny na nastavovací vstupy RS-klopných obvodů (28 až 59), na jejichž nulovací vstupy jsou připojeny jednotlivé výstupy třetího demultiplexoru (27).Controller according to claim 1, characterized in that the control block (6) consists of a multiplexer (8) whose address inputs are connected to the first to fifth setting inputs of the counter (20) and whose output is connected to the setting inputs of the first D- a flip-flop (10), the output of which is connected to a first input of the first logic equivalence circuit (14), the second input of which is connected to the output of the second D-flip-flop (11), the setting input of which is connected to the sixth setting input of the counter (20) and the output of the first logic equivalence circuit (14) is coupled to the first input of the first logic product (15J), the second input of which is connected to the output, and to the K-input of the JK-FLASH circuit (12) whose negated J-input is connected to the eighth setting input of the counter (20) and the output of the first logical product circuit (15) is connected to the negated first input of the third logical equivalence circuit (16) and to the first input of the second logical circuit (17) equivalents, the second inputs of which are connected to a generator (21), to which are further connected the synchronization input of the JK-flip-flop (12), through the inverter (9) the synchronization inputs of the first D-flip-flop (10J). 11j and a third D-flip-flop (13J) and second inputs of a second logic product (22), a third logic product (23) and a fourth logic product (24) whose first inputs are interconnected, the third inputs are connected to the seventh the counter input input (20), the fourth inputs being coupled to the eight counter counter input (20) and the fifth inputs of the third and fourth logic products (23 and 24 J) are connected to the sixth counter input input (20) and the second circuit output (22) ) of the logic product is connected to the input of information of the first demultiplexer (25), the output of the third circuit (23) of the logical product is connected to the input of demultiplexer (26J) and the output of the fourth circuit (24J logic product) is connected to the in219973 formation of the third demultiplexer (27), while the address inputs of the first, second and third demultiplexers (25, 26 and 27) are connected to the first to fifth counter inputs. 20), wherein the output of the third logical equivalence circuit (16) is connected to the counted pulse input of the counter (20), the output of the second logical equivalence circuit (17) is connected to the input for synchronous adjustment of the counter (20) and the output of the second logic equivalence circuit (17) is connected to a D-flip-flop (19) synchronization input with a set-up asynchronous input, and this set-up asynchronous input is connected to an output for transmission to the next row of counter (20); circuit (19) with setting asynchronous input connected to output of third D-flip-flop (13), the input is connected to the seventh adjustment input of the counter (20), while the individual outputs of the second demultiplexer (26) are connected to the adjustment inputs of the RS-flip-flops (28-59), to whose reset inputs the individual outputs of the third demultiplexer (27) are connected.
CS362681A 1981-05-15 1981-05-15 Control unit for connecting the periphery devices to the computers CS219975B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CS362681A CS219975B1 (en) 1981-05-15 1981-05-15 Control unit for connecting the periphery devices to the computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CS362681A CS219975B1 (en) 1981-05-15 1981-05-15 Control unit for connecting the periphery devices to the computers

Publications (1)

Publication Number Publication Date
CS219975B1 true CS219975B1 (en) 1983-03-25

Family

ID=5376859

Family Applications (1)

Application Number Title Priority Date Filing Date
CS362681A CS219975B1 (en) 1981-05-15 1981-05-15 Control unit for connecting the periphery devices to the computers

Country Status (1)

Country Link
CS (1) CS219975B1 (en)

Similar Documents

Publication Publication Date Title
US4309755A (en) Computer input/output arrangement for enabling a simultaneous read/write data transfer
EP0685799B1 (en) Multi-device connector
KR970007764B1 (en) Program controller
US7660916B2 (en) Emulation of independent active DMA channels with a single DMA capable bus master hardware and firmware
US4748417A (en) Method and circuit arrangement for switching a clock-controlled device having a plurality of operating statuses
US6813732B2 (en) Trace circuit
JP2009535677A (en) I2C clock generation method and system
US5963736A (en) Software reconfigurable target I/O in a circuit emulation system
US20050055189A1 (en) Verification method and system for logic circuit
CS219975B1 (en) Control unit for connecting the periphery devices to the computers
KR100458024B1 (en) Data processing system with adjustable clocks for partitioned synchronous interfaces
US4967390A (en) Bus driving and decoding circuit
KR100200968B1 (en) Host interface circuit of image making apparatus
US11243856B1 (en) Framing protocol supporting low-latency serial interface in an emulation system
KR100266963B1 (en) Method and apparatus for reducing latency rime on an interface by overlapping transmitted packets
US20030053573A1 (en) Microcontroller having a transmission-bus-interface
Medardoni et al. Capturing the interaction of the communication, memory and I/O subsystems in memory-centric industrial MPSoC platforms
US7065669B2 (en) System and method for providing a write strobe signal to a receiving element before both an address and data signal
US7991924B2 (en) Method and system for initializing devices
KR0169789B1 (en) Data transmission method and circuit of blocks with different clock cycles
SU1486990A1 (en) System for numerical program control of group of machines
US20070300096A1 (en) Late Data Launch for a Double Data Rate Elastic Interface
KR900007704B1 (en) Communication Method of Peripheral Device Control Bus of Electronic Switching System
TWI245912B (en) Circuit testing with ring-connected test instrument modules
RU2032201C1 (en) Digital control system input/output module