{"id":1998,"date":"2014-07-28T10:14:42","date_gmt":"2014-07-28T10:14:42","guid":{"rendered":"http:\/\/sites.unica.it\/rpct\/?page_id=1998"},"modified":"2015-08-06T16:16:45","modified_gmt":"2015-08-06T16:16:45","slug":"switching-units","status":"publish","type":"page","link":"https:\/\/sites.unica.it\/rpct\/risultati-ricerca\/how-it-works\/switching-units\/","title":{"rendered":"Switching Units"},"content":{"rendered":"<h4>it<\/h4><p><\/p>\n<p>La condivisione delle risorse della rete tra le vari funzioni avviene mediante l\u2019utilizzo delle SBox, \u00a0blocchi combinatori che concettualmente non sono differenti da dei multiplexer e demultiplexer. Le SBox sono poste in corrispondenza di ogni crocevia fra diversi flussi di esecuzione, prima e dopo gli attori condivisi, dove il flusso dei dati subisce delle biforcazioni o dei ricongiungimenti.<\/p>\n<p>A livello pratico, il Back-End del tool MDC, a partire dalla tabella di configurazione generata dal Front-End, definisce (oltre al codice RTL del sistema riconfigurabile) i segnali di controllo per pilotare le SBox in maniera che a qualsiasi rete di ingresso corrisponda una corretta configurazione delle SBox. La configurazione delle SBox viene salvata in delle mappe chiamate Look-Up Tables (LUTs). Il sistema multifunzione riceve in ingresso un ID relativo alla rete da eseguire e, in base quest\u2019ultimo, seleziona la configurazione delle SBox.<\/p>\n<p>In hardware, le SBox devono supportare lo stesso protocollo di comunicazione della libreria di attori da interconnettere. Il framework RVC-CAL utilizza un protocollo costituito da 5 segnali diversi:<\/p>\n<ul>\n<li>DATA: il canale in cui \u00e8 trasmesso il dato;<\/li>\n<li>SEND: quando alto indica che il valore su <em>DATA<\/em> \u00e8 valido;<\/li>\n<li>ACK: indica l\u2019avvenuta ricezione da parte del destinatario, ed \u00e8 orientato verso l\u2019attore sorgente della trasmissione;<\/li>\n<li>RDY: utilizzato dal destinatario per segnalare la propria disponibilit\u00e0 a ricevere nuovi dati, \u00e8 anch\u2019esso orientato verso il sorgente della trasmissione;<\/li>\n<li>COUNT: indica il numero di dati che verranno spediti consecutivamente durante la prossima trasmissione.<\/li>\n<\/ul>\n<p>Per ogni connessione tra due attori presente ad alto livello, cio\u00e8 a livello dataflow, in hardware vanno gestiti tutti i 5 diversi canali di comunicazione sopraelencati, facendo attenzione al verso di ciascuno di essi.<\/p>\n<p><a href=\"http:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2043\" src=\"http:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-969x1024.png\" alt=\"sbox\" width=\"604\" height=\"638\" srcset=\"https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-969x1024.png 969w, https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-284x300.png 284w, https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox.png 1688w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>Le unit\u00e0 computazionali corrispondenti agli attori SBox saranno dunque dei banchi di multiplexer e demultiplexer pilotati da un selettore comune, il cui valore viene settato in relazione all\u2019informazione di configurazione contenuta nelle LUT.<\/p>\n<hr \/>\n<p><a title=\"How it works\" href=\"http:\/\/sites.unica.it\/rpct\/how-it-works\/\">Torna a How It Works<\/a><\/p>\n<p><\/p><h4>en<\/h4><p><\/p>\n<p>Resource sharing among the networks implementing the different functionalities is achieved by means of the Sbox modules, combinational blocks that are not conceptually different from the multiplexer and demultiplexer. The Sboxes are placed at the crossroads among different flows of data (implementing different networks), before and after the shared actors, where the data flow undergoes a fork or a join.<\/p>\n<p>In practice, the Back-End of the MDC tool, starting from the configuration table generated by the Front-End, defines (along with the RTL code reconfigurable system) the correct control signals to drive the Sboxes, so that any input network match a proper configuration of the Sboxes. The configuration of the Sboxes is saved in dedicated maps called Look-Up Tables (LUTs). The multifunction system receives as input the ID of the network to be executed and, on the basis of this latter, selects the proper configuration of the Sboxes.<\/p>\n<p>In hardware, the Sboxes must support the same communication protocol characterising the library of actors to be interconnected, which is the RVC-CAL one. It consists of 5 different signals:<\/p>\n<ol>\n<li>DATA: data to be transmitted;<\/li>\n<li>SEND: The value of DATA is valid when it is high;<\/li>\n<li>ACK: it indicates correct reception of a DATA and it is oriented from the consumer to the producer;<\/li>\n<li>RDY: it indicates that a consumer is ready to receive new data and it is oriented from the consumer to the producer;<\/li>\n<li>COUNT: number of DATA composing the transaction.<\/li>\n<\/ol>\n<p>For each connection between two actors present at high level, i.e. at the dataflow one, in hardware all the 5 different aforementioned communication channels have to be managed, paying attention to the direction of each of them.<\/p>\n<p><a href=\"http:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2043\" src=\"http:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-969x1024.png\" alt=\"sbox\" width=\"604\" height=\"638\" srcset=\"https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-969x1024.png 969w, https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox-284x300.png 284w, https:\/\/sites.unica.it\/rpct\/files\/2014\/07\/sbox.png 1688w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>The computational units corresponding to the Sboxes are implemented as banks of multiplexers and demultiplexers controlled by a common selector, which value is set according to the information contained in the configuration LUT.<\/p>\n<hr \/>\n<p><a title=\"How it works\" href=\"http:\/\/sites.unica.it\/rpct\/how-it-works\/\">Reurn to How It Works<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>it La condivisione delle risorse della rete tra le vari funzioni avviene mediante l\u2019utilizzo delle SBox, \u00a0blocchi combinatori che concettualmente non sono differenti da dei multiplexer e demultiplexer. Le SBox sono poste in corrispondenza di ogni crocevia fra diversi flussi di esecuzione, prima e dopo gli attori condivisi, dove il flusso dei dati subisce delle &hellip; <a href=\"https:\/\/sites.unica.it\/rpct\/risultati-ricerca\/how-it-works\/switching-units\/\" class=\"more-link\">Continua la lettura di <span class=\"screen-reader-text\">Switching Units<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2529,"featured_media":0,"parent":1718,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1998","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/pages\/1998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/users\/2529"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/comments?post=1998"}],"version-history":[{"count":7,"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/pages\/1998\/revisions"}],"predecessor-version":[{"id":2269,"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/pages\/1998\/revisions\/2269"}],"up":[{"embeddable":true,"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/pages\/1718"}],"wp:attachment":[{"href":"https:\/\/sites.unica.it\/rpct\/wp-json\/wp\/v2\/media?parent=1998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}